it.eng.spagobi.utilities
Class UploadedFile

java.lang.Object
  extended byit.eng.spagobi.utilities.UploadedFile

public class UploadedFile
extends java.lang.Object

Defines an UploadedFile object.

Author:
Zoppello

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
equals, 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.