public static class ImportCandidates.SCANNING extends ImportEvent
ImportCandidates
. A Scanning
event will not necessarily
be raised for every file or directory, but the values will be valid for
each event.
If totalFiles
is less than 0, then the directory is currently be
scanned and the count is unknown. Once totalFiles
is positive,
it will remain constant.
If cancel()
is called, then directory searching will cease. The
ImportCandidates
instance will be left with no
ImportContainer
s.ImportEvent.ADD, ImportEvent.BEGIN_POST_PROCESS, ImportEvent.BEGIN_SAVE_TO_DB, ImportEvent.COUNT_EVENT, ImportEvent.DATA_STORED, ImportEvent.DATASET_STORED, ImportEvent.DEBUG_SEND, ImportEvent.END_POST_PROCESS, ImportEvent.END_SAVE_TO_DB, ImportEvent.ERRORS_COMPLETE, ImportEvent.ERRORS_FAILED, ImportEvent.ERRORS_PENDING, ImportEvent.FILE_UPLOAD_BYTES, ImportEvent.FILE_UPLOAD_CANCELLED, ImportEvent.FILE_UPLOAD_COMPLETE, ImportEvent.FILE_UPLOAD_ERROR, ImportEvent.FILE_UPLOAD_EVENT, ImportEvent.FILE_UPLOAD_FAILED, ImportEvent.FILE_UPLOAD_FINISHED, ImportEvent.FILE_UPLOAD_STARTED, ImportEvent.FILESET_UPLOAD_END, ImportEvent.FILESET_UPLOAD_PREPARATION, ImportEvent.FILESET_UPLOAD_START, ImportEvent.IMPORT_ARCHIVING, ImportEvent.IMPORT_DONE, ImportEvent.IMPORT_OVERLAYS, ImportEvent.IMPORT_PROCESSING, ImportEvent.IMPORT_STEP, ImportEvent.LOADED_IMAGE, ImportEvent.LOADING_IMAGE, ImportEvent.LOGGED_IN, ImportEvent.LOGGED_OUT, ImportEvent.METADATA_IMPORTED, ImportEvent.METADATA_PROCESSED, ImportEvent.OBJECTS_RETURNED, ImportEvent.PIXELDATA_PROCESSED, ImportEvent.POST_UPLOAD_EVENT, ImportEvent.PROGRESS_EVENT, ImportEvent.REIMPORT, ImportEvent.THUMBNAILS_GENERATED
修飾子とタイプ | フィールドと説明 |
---|---|
int |
depth |
java.io.File |
file |
int |
numFiles |
int |
totalFiles |
GROUP_COLLAB_READ, GROUP_COLLAB_READ_LINK, GROUP_PRIVATE, GROUP_PUBLIC, GROUP_SYSTEM
コンストラクタと説明 |
---|
ImportCandidates.SCANNING(java.io.File file,
int depth,
int numFiles,
int totalFiles) |
public final java.io.File file
public final int depth
public final int numFiles
public final int totalFiles
public ImportCandidates.SCANNING(java.io.File file, int depth, int numFiles, int totalFiles)
public void cancel()
public java.lang.String toLog()
toLog
クラス内 ImportEvent