|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.acciente.induction.init.config.Config.FileUpload
public static class Config.FileUpload
Modular configuration container
Constructor Summary | |
---|---|
Config.FileUpload()
|
Method Summary | |
---|---|
int |
getMaxUploadSizeInBytes()
|
int |
getStoreOnDiskThresholdInBytes()
|
File |
getUploadedFileStorageDir()
Returns the path to which uploaded files that are too large to be kept in memory should be written, if no directory is specified all files are kept in memory |
void |
setMaxUploadSizeInBytes(int iMaxUploadSizeInBytes)
Sets the maximum upload file size in bytes will be accepted |
void |
setStoreOnDiskThresholdInBytes(int iStoreOnDiskThresholdInBytes)
Set a file size in bytes above which the uploaded file will be stored on disk |
void |
setUploadedFileStorageDir(File oUploadedFileStorageDir)
|
String |
toString()
|
String |
toXML()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Config.FileUpload()
Method Detail |
---|
public void setUploadedFileStorageDir(File oUploadedFileStorageDir)
public File getUploadedFileStorageDir()
public int getMaxUploadSizeInBytes()
public void setMaxUploadSizeInBytes(int iMaxUploadSizeInBytes)
iMaxUploadSizeInBytes
- a file size in bytespublic int getStoreOnDiskThresholdInBytes()
public void setStoreOnDiskThresholdInBytes(int iStoreOnDiskThresholdInBytes)
iStoreOnDiskThresholdInBytes
- a file size in bytespublic String toString()
toString
in class Object
public String toXML()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |