All Packages Class Hierarchy This Package Previous Next Index
Class WebSite.Servlet.FormFile
java.lang.Object
|
+----java.io.File
|
+----WebSite.Servlet.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.Servlet package.
You cannot create them yourself.
- 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.
-
getFieldName()
- Gets the form field name of the uploaded file.
getFieldName
public String getFieldName()
- Gets the form field name of the uploaded file. This is the name
used in the <FILE> tag in the form.
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