|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IUploadFile
IUploadFile
| Field Summary | |
|---|---|
static int |
STATUS_DOWNLOADING
|
static int |
STATUS_EDITING
|
static int |
STATUS_FAILED
|
static int |
STATUS_FINISHED
|
static int |
STATUS_PREPROCESSING
|
static int |
STATUS_READY
|
static int |
STATUS_UPLOADING
|
static int |
TYPE_DOCUMENT
a document for processing |
static int |
TYPE_FILE
generic file for upload |
| Method Summary | |
|---|---|
java.lang.Exception |
getError()
error retrieval, valid for STATUS_FAILED |
int |
getIndex()
file index retrieval (staring at 0) |
java.lang.String |
getKey()
retrieve general purpose key |
java.lang.String |
getResponseContent()
server response content retrieval |
IAttributeSet |
getResponseHeaders()
server response headers retrieval |
int |
getStatus()
status retrieval |
ITransferProgress |
getTransferProgress()
transfer progress retrieval, valid for STATUS_UPLOADING |
int |
getType()
type retrieval, see constants |
int |
getUploadedPartitionCount()
|
boolean |
isDocumentFileWasLocked()
shows whether document file ever was locked |
boolean |
isDownloading()
shows whether is downloading |
boolean |
isEditableImage()
shows whether file is editable image |
boolean |
isEditing()
shows whether is editing |
boolean |
isFailed()
shows whether is failed |
boolean |
isFinished()
shows whether is finished |
boolean |
isPreprocessing()
shows whether is preprocessing |
boolean |
isReady()
shows whether is ready |
boolean |
isRemovable()
shows whether this item could be removed from uploader |
boolean |
isRetryable()
shows whether this item could be retryed |
boolean |
isServerProcessing()
shows whether is server processing |
boolean |
isStoppable()
shows whether stop upload can be issued for this item |
boolean |
isTempFile()
check whether file is temporary |
boolean |
isUploading()
shows whether is uploading |
void |
setDocumentFileWasLocked(boolean documentFileWasLocked)
set document file ever was locked flag |
void |
setKey(java.lang.String key)
store general purpose key |
void |
setLength(long length)
update file length |
void |
setUploadedPartitionCount(int uploadedPartitionCount)
|
| Methods inherited from interface jmaster.jumploader.model.api.file.IFile |
|---|
getAttributeSet, getCompressionRatio, getFile, getId, getLength, getMimeType, getName, getOriginalFilePath, getPath, isChecked, isCheckedUpdatable, isDirectory, isDrive, isFile, isFileSystem, isHidden, setChecked, setCheckedUpdatable, setId |
| Field Detail |
|---|
static final int TYPE_FILE
static final int TYPE_DOCUMENT
static final int STATUS_READY
static final int STATUS_UPLOADING
static final int STATUS_FINISHED
static final int STATUS_FAILED
static final int STATUS_PREPROCESSING
static final int STATUS_DOWNLOADING
static final int STATUS_EDITING
| Method Detail |
|---|
int getType()
int getStatus()
java.lang.Exception getError()
ITransferProgress getTransferProgress()
boolean isReady()
boolean isPreprocessing()
boolean isServerProcessing()
boolean isUploading()
boolean isFinished()
boolean isFailed()
int getIndex()
boolean isRemovable()
boolean isRetryable()
boolean isStoppable()
int getUploadedPartitionCount()
void setUploadedPartitionCount(int uploadedPartitionCount)
uploadedPartitionCount - the uploadedPartitionCount to setboolean isEditableImage()
java.lang.String getResponseContent()
IAttributeSet getResponseHeaders()
void setLength(long length)
boolean isTempFile()
boolean isDownloading()
boolean isEditing()
java.lang.String getKey()
void setKey(java.lang.String key)
boolean isDocumentFileWasLocked()
void setDocumentFileWasLocked(boolean documentFileWasLocked)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||