it.eng.spagobi.commons.utilities
Class UploadedFile

java.lang.Object
  extended by it.eng.spagobi.commons.utilities.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()
          Gets the field name in form.
 byte[] getFileContent()
          Gets the file content.
 java.lang.String getFileName()
          Gets the file name.
 long getSizeInBytes()
          Gets the size in bytes.
 void setFieldNameInForm(java.lang.String fieldNameInForm)
          Sets the field name in form.
 void setFileContent(byte[] fileContent)
          Sets the file content.
 void setFileName(java.lang.String fileName)
          Sets the file name.
 void setSizeInBytes(long sizeInBytes)
          Sets the size in bytes.
 
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()
Gets the field name in form.

Returns:
Returns the fieldNameInForm.

setFieldNameInForm

public void setFieldNameInForm(java.lang.String fieldNameInForm)
Sets the field name in form.

Parameters:
fieldNameInForm - The fieldNameInForm to set.

getFileContent

public byte[] getFileContent()
Gets the file content.

Returns:
Returns the fileContent.

setFileContent

public void setFileContent(byte[] fileContent)
Sets the file content.

Parameters:
fileContent - The fileContent to set.

getFileName

public java.lang.String getFileName()
Gets the file name.

Returns:
Returns the fileName.

setFileName

public void setFileName(java.lang.String fileName)
Sets the file name.

Parameters:
fileName - The fileName to set.

getSizeInBytes

public long getSizeInBytes()
Gets the size in bytes.

Returns:
Returns the sizeInBytes.

setSizeInBytes

public void setSizeInBytes(long sizeInBytes)
Sets the size in bytes.

Parameters:
sizeInBytes - The sizeInBytes to set.