it.eng.spagobi.utilities
Class UploadedFile

java.lang.Object
  extended by it.eng.spagobi.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

Field Summary
private  java.lang.String fieldNameInForm
           
private  byte[] fileContent
           
private  java.lang.String fileName
           
private  long sizeInBytes
           
 
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
 

Field Detail

fileContent

private byte[] fileContent

fileName

private java.lang.String fileName

sizeInBytes

private long sizeInBytes

fieldNameInForm

private java.lang.String fieldNameInForm
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.