public class ProgressListenerImpl extends java.lang.Object implements ProgressListener
| Modifier and Type | Field and Description |
|---|---|
(package private) Abbreviator |
abbr |
(package private) int |
addFileCount |
(package private) MigratorFrame |
frame |
(package private) int |
inplaceConversionCount |
(package private) long |
lastUpdate |
(package private) int |
scanFileCount |
(package private) static int |
TARGET_FILE_LENGTH |
(package private) static int |
UPDATE_THRESHOLD |
| Constructor and Description |
|---|
ProgressListenerImpl(java.io.File projectFolder,
MigratorFrame frame) |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.lang.String |
getShortName(java.io.File file) |
(package private) boolean |
isTooSoon() |
void |
onDirectory(java.io.File file) |
void |
onDone() |
void |
onFileAddition(java.io.File file) |
void |
onFileScan(java.io.File file) |
void |
onFileScanBegin() |
void |
onInplaceConversion(java.io.File file) |
void |
onMigrationBegin() |
static final int TARGET_FILE_LENGTH
static final int UPDATE_THRESHOLD
int addFileCount
int scanFileCount
int inplaceConversionCount
final MigratorFrame frame
Abbreviator abbr
long lastUpdate
public ProgressListenerImpl(java.io.File projectFolder,
MigratorFrame frame)
public void onMigrationBegin()
onMigrationBegin in interface ProgressListenerboolean isTooSoon()
public void onDirectory(java.io.File file)
onDirectory in interface ProgressListenerpublic void onDone()
onDone in interface ProgressListenerpublic void onFileAddition(java.io.File file)
onFileAddition in interface ProgressListenerpublic void onFileScan(java.io.File file)
onFileScan in interface ProgressListenerpublic void onInplaceConversion(java.io.File file)
onInplaceConversion in interface ProgressListenerjava.lang.String getShortName(java.io.File file)
public void onFileScanBegin()
onFileScanBegin in interface ProgressListener