protected abstract static class HierarchialTranslationTable.AbstractImportTask extends java.lang.Object implements AsyncClientTask
Modifier and Type | Class and Description |
---|---|
static interface |
HierarchialTranslationTable.AbstractImportTask.OnCompleteCallback |
Modifier and Type | Field and Description |
---|---|
protected HierarchialTranslationTable.AbstractImportTask.OnCompleteCallback |
callback |
protected java.io.File |
file |
Constructor and Description |
---|
AbstractImportTask(java.io.File file,
HierarchialTranslationTable.AbstractImportTask.OnCompleteCallback callback) |
Modifier and Type | Method and Description |
---|---|
boolean |
canCancel()
Whether or not the user is allowed to cancel the operation.
|
java.lang.String |
getTaskTitle()
A helpful title describing the operation for the user.
|
protected void |
onComplete(TranslationPackage pkg) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
protected java.io.File file
protected HierarchialTranslationTable.AbstractImportTask.OnCompleteCallback callback
public AbstractImportTask(java.io.File file, HierarchialTranslationTable.AbstractImportTask.OnCompleteCallback callback)
public java.lang.String getTaskTitle()
AsyncClientTask
getTaskTitle
in interface AsyncClientTask
public boolean canCancel()
AsyncClientTask
canCancel
in interface AsyncClientTask
protected void onComplete(TranslationPackage pkg)