it.eng.spago.util
Class UploadedFile

java.lang.Object
  extended byit.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

Constructor Summary
UploadedFile()
           
 
Method Summary
 java.lang.String getFieldNameInForm()
           
 byte[] getFileContent()
           
 java.lang.String getFileName()
           
 long getSizeInBytes()
           
 void setFieldNameInForm(java.lang.String fieldNameInForm)
           
 void setFileContent(byte[] fileContent)
           
 void setFileName(java.lang.String fileName)
           
 void setSizeInBytes(long sizeInBytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadedFile

public UploadedFile()
Method Detail

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.