UIX 2.2.16

oracle.cabo.servlet.io
Class UploadedFile

java.lang.Object
  |
  +--oracle.cabo.servlet.io.UploadedFile

public class UploadedFile
extends java.lang.Object

UploadedFile defines a single file that has been uploaded to the server.

See Also:
UploadedFileMap

Method Summary
 void dispose()
          Disposes of all resources used to store this file.
 java.lang.String getContentType()
          Returns the MIME type of the file.
 java.lang.String getFilename()
          Returns the filename reported from the client.
 java.io.InputStream getInputStream()
          Returns an InputStream that can be used to read the file.
 long getLength()
          Returns the total length (in bytes) of the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFilename

public java.lang.String getFilename()
Returns the filename reported from the client.

getContentType

public java.lang.String getContentType()
Returns the MIME type of the file.

getLength

public long getLength()
Returns the total length (in bytes) of the file.

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Returns an InputStream that can be used to read the file. This method can be called repeatedly.

dispose

public void dispose()
Disposes of all resources used to store this file.

UIX 2.2.16