Liferay 6.1.2-ce-ga3

com.liferay.portal.upload
Class LiferayFileItem

java.lang.Object
  extended by org.apache.commons.fileupload.disk.DiskFileItem
      extended by com.liferay.portal.upload.LiferayFileItem
All Implemented Interfaces:
Serializable, org.apache.commons.fileupload.FileItem, org.apache.commons.fileupload.FileItemHeadersSupport

public class LiferayFileItem
extends org.apache.commons.fileupload.disk.DiskFileItem
implements FileItem

See Also:
Serialized Form

Field Summary
static int THRESHOLD_SIZE
           
 
Fields inherited from class org.apache.commons.fileupload.disk.DiskFileItem
DEFAULT_CHARSET
 
Constructor Summary
LiferayFileItem(String fieldName, String contentType, boolean isFormField, String fileName, int sizeThreshold, File repository)
           
 
Method Summary
 String getEncodedString()
           
 String getFileName()
           
 String getFileNameExtension()
           
 String getFullFileName()
           
 int getSizeThreshold()
           
 String getString()
           
protected  File getTempFile()
           
 void setString(String encode)
           
 
Methods inherited from class org.apache.commons.fileupload.disk.DiskFileItem
delete, finalize, get, getCharSet, getContentType, getFieldName, getHeaders, getInputStream, getName, getOutputStream, getSize, getStoreLocation, getString, isFormField, isInMemory, setFieldName, setFormField, setHeaders, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.upload.FileItem
delete, getContentType, getFieldName, getInputStream, getSize, getStoreLocation, isFormField, isInMemory
 

Field Detail

THRESHOLD_SIZE

public static final int THRESHOLD_SIZE
Constructor Detail

LiferayFileItem

public LiferayFileItem(String fieldName,
                       String contentType,
                       boolean isFormField,
                       String fileName,
                       int sizeThreshold,
                       File repository)
Method Detail

getEncodedString

public String getEncodedString()

getFileName

public String getFileName()

getFileNameExtension

public String getFileNameExtension()

getFullFileName

public String getFullFileName()

getSizeThreshold

public int getSizeThreshold()

getString

public String getString()
Specified by:
getString in interface org.apache.commons.fileupload.FileItem
Overrides:
getString in class org.apache.commons.fileupload.disk.DiskFileItem

setString

public void setString(String encode)

getTempFile

protected File getTempFile()
Overrides:
getTempFile in class org.apache.commons.fileupload.disk.DiskFileItem

Liferay 6.1.2-ce-ga3