org.pentaho.platform.web.servlet
Class UploadFileUtils
java.lang.Object
org.pentaho.platform.web.servlet.UploadFileUtils
public class UploadFileUtils
- extends Object
DEFAULT_RELATIVE_UPLOAD_FILE_PATH
public static final String DEFAULT_RELATIVE_UPLOAD_FILE_PATH
UploadFileUtils
public UploadFileUtils(IPentahoSession sessionValue)
process
public boolean process()
throws Exception
- Throws:
Exception
checkLimits
public boolean checkLimits(long itemSize)
throws IOException
- Throws:
IOException
checkLimits
public boolean checkLimits(long itemSize,
boolean compressed)
throws IOException
- Throws:
IOException
getFileName
public String getFileName()
- Getters and Setters
setFileName
public void setFileName(String value)
isShouldUnzip
public boolean isShouldUnzip()
setShouldUnzip
public void setShouldUnzip(boolean value)
isTemporary
public boolean isTemporary()
setTemporary
public void setTemporary(boolean value)
setWriter
public void setWriter(Writer value)
getWriter
public Writer getWriter()
setUploadedFileItem
public void setUploadedFileItem(org.apache.commons.fileupload.FileItem value)
getUploadedFileItem
public org.apache.commons.fileupload.FileItem getUploadedFileItem()
getPath
public String getPath()
getPathDir
public File getPathDir()
getRelativePath
public String getRelativePath()