Class WebSite.WinCGI.FormFile
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class WebSite.WinCGI.FormFile

java.lang.Object
   |
   +----java.io.File
           |
           +----WebSite.WinCGI.FormFile

public class FormFile
extends File

Extended File object for files uploaded using the form-based file upload feature of some browsers/clients. This class contains additional properties and access methods specific to this type of file.

These objects are created only within the WebSite.WinCGI package. You cannot create them yourself.

Author: Robert B. Denny
Version: 0.2 (experimental)

See Also:
Form, File

Method Index

 o getClientName()
Gets the pathname of the file as specified by the client in the upload form.
 o getContentLength()
Gets the length in bytes of the uploaded file.
 o getContentTransferEncoding()
Gets the transfer encoding type (Content-Transfer-Encoding:) of the uploaded file, as specified by the client.
 o getContentType()
Gets the media content type (Content-Type:) of the uploaded file, as specified by the client.

Methods

 o getContentLength
  public int getContentLength()
Gets the length in bytes of the uploaded file.
 o getContentType
  public String getContentType()
Gets the media content type (Content-Type:) of the uploaded file, as specified by the client.
 o getContentTransferEncoding
  public String getContentTransferEncoding()
Gets the transfer encoding type (Content-Transfer-Encoding:) of the uploaded file, as specified by the client.
 o getClientName
  public String getClientName()
Gets the pathname of the file as specified by the client in the upload form.

All Packages  Class Hierarchy  This Package  Previous  Next  Index