|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConfigurationAdhocUpload
This interface defines the methods to manage Adhoc upload configuration of server.
| Field Summary | |
|---|---|
static java.lang.String |
IMG_TYPE_BMP
Property for Adhoc upload image type bmp. |
static java.lang.String |
IMG_TYPE_GIF
Property for Adhoc upload image type gif. |
static java.lang.String |
IMG_TYPE_JPG
Property for Adhoc upload image type jpg. |
static java.lang.String |
IMG_TYPE_PNG
Property for Adhoc upload image type png. |
static java.lang.String |
IMG_TYPE_TIF
Property for Adhoc upload image type tif. |
| Method Summary | |
|---|---|
java.lang.String[] |
getUploadEnableFileTypes()
Gets the file types of upload enabled. |
int |
getUploadUpperSize()
Gets the upper size of upload file. |
boolean |
isUploadEnable(java.lang.String fileType)
Gets if upload is enabled. |
void |
setUploadEnable(java.lang.String fileType,
boolean isEnable)
Sets if upload is enabled. |
void |
setUploadUpperSize(int upperSize)
Sets the upper size of upload file. |
| Field Detail |
|---|
static final java.lang.String IMG_TYPE_JPG
static final java.lang.String IMG_TYPE_BMP
static final java.lang.String IMG_TYPE_GIF
static final java.lang.String IMG_TYPE_TIF
static final java.lang.String IMG_TYPE_PNG
| Method Detail |
|---|
boolean isUploadEnable(java.lang.String fileType)
fileType - the file type, can be one of the following:
IMG_TYPE_JPG, IMG_TYPE_BMP, IMG_TYPE_GIF, IMG_TYPE_TIF, IMG_TYPE_PNG, etc.
void setUploadEnable(java.lang.String fileType,
boolean isEnable)
fileType - the file type, can be one of the following:
IMG_TYPE_JPG, IMG_TYPE_BMP, IMG_TYPE_GIF, IMG_TYPE_TIF, IMG_TYPE_PNG, etc.isEnable - if upload is enabled.java.lang.String[] getUploadEnableFileTypes()
void setUploadUpperSize(int upperSize)
upperSize - the upper size(MB).int getUploadUpperSize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||