it.eng.spago.util
Class UploadedFile
java.lang.Object
it.eng.spago.util.UploadedFile
- All Implemented Interfaces:
- java.io.Serializable
- public class UploadedFile
- extends java.lang.Object
- implements java.io.Serializable
Defines an UploadedFile
object.
- Author:
- Zoppello
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UploadedFile
public UploadedFile()
getFieldNameInForm
public java.lang.String getFieldNameInForm()
- Returns:
- Returns the fieldNameInForm.
setFieldNameInForm
public void setFieldNameInForm(java.lang.String fieldNameInForm)
- Parameters:
fieldNameInForm
- The fieldNameInForm to set.
getFileContent
public byte[] getFileContent()
- Returns:
- Returns the fileContent.
setFileContent
public void setFileContent(byte[] fileContent)
- Parameters:
fileContent
- The fileContent to set.
getFileName
public java.lang.String getFileName()
- Returns:
- Returns the fileName.
setFileName
public void setFileName(java.lang.String fileName)
- Parameters:
fileName
- The fileName to set.
getSizeInBytes
public long getSizeInBytes()
- Returns:
- Returns the sizeInBytes.
setSizeInBytes
public void setSizeInBytes(long sizeInBytes)
- Parameters:
sizeInBytes
- The sizeInBytes to set.