java.lang.Objectorg.objectweb.telosys.upload.FileUploaded
A representation of a file uploaded on the server by a multpart http request
Constructor Summary | |
FileUploaded(java.lang.String fileName,
byte[] data,
java.lang.String sFileType,
long maxSizeUsed,
java.lang.String destDir,
UploadParameters uploadParam)
Constructor |
Method Summary | |
byte[] |
getData()
Returns the data of the file uploaded |
long |
getDataSize()
Returns the size of the data ( in bytes ) |
java.lang.String |
getDestDir()
Returns the destination directory ( where to save the file on the server side ) |
java.lang.String |
getFileName()
Returns the name of the file uploaded |
java.lang.String |
getFileType()
Returns the content type of the file uploaded ( i.e. |
long |
getMaxSizeUsed()
Returns the maximum size used when the file data has been loaded in memory |
java.lang.String |
getParamContextAttribute()
Returns the "contextattribute" parameter ( see tag : contextattribute="..." ) |
int |
getParamContextId()
Returns the "contextid" parameter ( see tag : contextid="..." ) |
java.lang.String |
getParamDestDir()
Returns the "destdir" parameter ( see tag : destdir="..." ) |
long |
getParamMaxSize()
Returns the "maxsize" parameter ( see tag : maxsize="..." ) |
java.lang.String |
getParamSessionKey()
Returns the "sessionkey" parameter ( see tag : sessionkey="..." ) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileUploaded(java.lang.String fileName, byte[] data, java.lang.String sFileType, long maxSizeUsed, java.lang.String destDir, UploadParameters uploadParam)
fileName
- data
- sFileType
- maxSizeUsed
- destDir
- uploadParam
- Method Detail |
public byte[] getData()
public long getDataSize()
public java.lang.String getFileName()
public java.lang.String getFileType()
public long getMaxSizeUsed()
public java.lang.String getDestDir()
public java.lang.String getParamDestDir()
public long getParamMaxSize()
public java.lang.String getParamSessionKey()
public int getParamContextId()
public java.lang.String getParamContextAttribute()