|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConfigurationAdhocUpload
This interface define methods to manage Adhoc upload configuration of server.
| Field Summary | |
|---|---|
static java.lang.String |
IMG_TYPE_BMP
|
static java.lang.String |
IMG_TYPE_GIF
|
static java.lang.String |
IMG_TYPE_JPG
|
static java.lang.String |
IMG_TYPE_PNG
|
static java.lang.String |
IMG_TYPE_TIF
|
| Method Summary | |
|---|---|
java.lang.String[] |
getUploadEnableFileTypes()
Get file types of upload enable |
int |
getUploadUpperSize()
Get upper size of upload file |
boolean |
isUploadEnable(java.lang.String fileType)
Get if upload enable |
void |
setUploadEnable(java.lang.String fileType,
boolean isEnable)
Set if upload enable |
void |
setUploadUpperSize(int upperSize)
Set 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, one of these:
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, one of these:
IMG_TYPE_JPG, IMG_TYPE_BMP, IMG_TYPE_GIF, IMG_TYPE_TIF, IMG_TYPE_PNG, etc.isEnable - if upload enablejava.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 | ||||||||