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