com.ibm.xsp.http
Interface IUploadedFile

All Known Implementing Classes:
UploadedFile

public interface IUploadedFile

This interface represents an uploaded file.


Method Summary
 java.lang.String getCGIParameterName()
          Returns the name of the CGI parameter associated to this file
 java.lang.String getClientFileName()
          Returns the name of the file as defined on the client
 java.lang.String[] getClientFileNames()
          Returns the file names as defined on the client
 long getContentLength()
          Returns the content length for the file
 long[] getContentLengths()
          Returns an array of content lengths for the files
 java.lang.String getContentType()
          Returns the content type of the file
 java.lang.String[] getContentTypes()
          Returns an array of content types for the files
 java.io.File getServerFile()
          Returns the temporary file created on the server
 java.lang.String getServerFileName()
          Returns the path of the temporary file created on the server
 java.lang.String[] getServerFileNames()
          Returns the path of the temporary files created on the server
 java.io.File[] getServerFiles()
          Returns the temporary files created on the server
 

Method Detail

getContentType

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


getContentTypes

java.lang.String[] getContentTypes()
Returns an array of content types for the files


getContentLengths

long[] getContentLengths()
Returns an array of content lengths for the files


getContentLength

long getContentLength()
Returns the content length for the file


getCGIParameterName

java.lang.String getCGIParameterName()
Returns the name of the CGI parameter associated to this file


getClientFileName

java.lang.String getClientFileName()
Returns the name of the file as defined on the client


getClientFileNames

java.lang.String[] getClientFileNames()
Returns the file names as defined on the client


getServerFileName

java.lang.String getServerFileName()
Returns the path of the temporary file created on the server


getServerFileNames

java.lang.String[] getServerFileNames()
Returns the path of the temporary files created on the server


getServerFile

java.io.File getServerFile()
Returns the temporary file created on the server


getServerFiles

java.io.File[] getServerFiles()
Returns the temporary files created on the server