|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectplanetj.database.BlobObject
planetj.dataengine.fileupload.UploadedFile
An UploadedFile contains information about a file that has been uploaded by a user. It can be saved to disk with the save() method.
| Constructor Summary | |
UploadedFile(byte[] content,
int maxLength,
java.lang.String contentType,
java.lang.String origFileName)
Creates a new UploadedFile object. |
|
UploadedFile(byte[] content,
java.lang.String contentType,
java.lang.String origFileName)
Creates a new UploadedFile object. |
|
| Method Summary | |
java.lang.String |
getContentType()
A String describing the content of the file. |
java.lang.String |
getOriginalFileName()
Gets the name that the file had on the user's file system before it was uploaded. |
protected void |
setContentType(java.lang.String newContentType)
Insert the method's description here. |
protected void |
setOriginalFileName(java.lang.String newOriginalFileName)
Insert the method's description here. |
| Methods inherited from class planetj.database.BlobObject |
byteArraysAreEqual, getBinaryStream, getBytes, getBytes, length, position, position, setBinaryStream, setBytes, setBytes, truncate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UploadedFile(byte[] content,
int maxLength,
java.lang.String contentType,
java.lang.String origFileName)
public UploadedFile(byte[] content,
java.lang.String contentType,
java.lang.String origFileName)
| Method Detail |
public java.lang.String getContentType()
public java.lang.String getOriginalFileName()
protected void setContentType(java.lang.String newContentType)
newContentType - java.lang.Stringprotected void setOriginalFileName(java.lang.String newOriginalFileName)
newOriginalFileName - java.lang.String
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||