|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.datacrow.core.migration.ItemMigrater
public abstract class ItemMigrater
Field Summary | |
---|---|
static int |
_MODE_NON_THREADED
Runs the parser in a non threaded mode |
static int |
_MODE_THREADED
Runs the parser in threaded mode |
protected java.io.File |
file
|
protected java.lang.String |
key
|
protected int |
mode
|
protected int |
moduleIdx
|
protected DcThread |
task
|
Constructor Summary | |
---|---|
ItemMigrater(int moduleIdx,
java.lang.String key,
int mode)
|
Method Summary | |
---|---|
void |
cancel()
|
java.io.File |
getFile()
|
javax.swing.ImageIcon |
getIcon()
The icon used to represent this source reader. |
java.lang.String |
getKey()
The unique key used to represent this source reader. |
protected DcModule |
getModule()
|
abstract java.lang.String |
getName()
|
abstract DcThread |
getTask()
|
protected abstract void |
initialize()
|
void |
setFile(java.io.File file)
Prepares this reader. |
void |
start()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int _MODE_THREADED
public static final int _MODE_NON_THREADED
protected final int moduleIdx
protected final int mode
protected java.lang.String key
protected java.io.File file
protected DcThread task
Constructor Detail |
---|
public ItemMigrater(int moduleIdx, java.lang.String key, int mode) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public abstract DcThread getTask()
public abstract java.lang.String getName()
protected abstract void initialize() throws java.lang.Exception
java.lang.Exception
public javax.swing.ImageIcon getIcon()
public java.lang.String getKey()
public void setFile(java.io.File file) throws java.lang.Exception
file
-
java.lang.Exception
public java.io.File getFile()
protected DcModule getModule()
public void start() throws java.lang.Exception
java.lang.Exception
public void cancel()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |