Class NGForestSaver
java.lang.Object
java.lang.Thread
NGForestSaver
- All Implemented Interfaces:
- ProgressSource, java.lang.Runnable
public class NGForestSaver
- extends java.lang.Thread
- implements ProgressSource
Class NGForestSaver saves result trees to a local disc. It communicates with the server and asks it to send
the result trees one by one. Optionally, it adds an information about matching nodes to the trees.
Nested classes/interfaces inherited from class java.lang.Thread |
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Methods inherited from class java.lang.Thread |
activeCount, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, checkAccess, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SAVING_OK
public static final int SAVING_OK
- See Also:
- Constant Field Values
SAVING_CANCELED_BY_INVOKER
public static final int SAVING_CANCELED_BY_INVOKER
- See Also:
- Constant Field Values
SAVING_CANCELED_BY_SAVER
public static final int SAVING_CANCELED_BY_SAVER
- See Also:
- Constant Field Values
FORMAT_FS
public static final int FORMAT_FS
- See Also:
- Constant Field Values
NGForestSaver
public NGForestSaver(NGClient p_jaaa,
ShowMessagesAble p_mess,
java.util.ResourceBundle p_i18n,
SavingFinishedListener p_saving_finished_listener)
getDestinationDirectory
public java.lang.String getDestinationDirectory()
setDestinationDirectory
public void setDestinationDirectory(java.lang.String path)
getFilesPrefix
public java.lang.String getFilesPrefix()
setFilesPrefix
public void setFilesPrefix(java.lang.String prefix)
getFilesSize
public long getFilesSize()
setFilesSize
public void setFilesSize(long size)
getPutMatchingMetaTag
public boolean getPutMatchingMetaTag()
setPutMatchingMetaTag
public void setPutMatchingMetaTag(boolean put)
getSaveMultipleOccurrences
public boolean getSaveMultipleOccurrences()
setSaveMultipleOccurrences
public void setSaveMultipleOccurrences(boolean save)
getRangeStart
public long getRangeStart()
setRangeStart
public void setRangeStart(long start)
getRangeEnd
public long getRangeEnd()
setRangeEnd
public void setRangeEnd(long end)
isSetOriginalSeparation
public boolean isSetOriginalSeparation()
setOriginalSeparation
public void setOriginalSeparation(boolean set)
isSetOriginalNames
public boolean isSetOriginalNames()
setOriginalNames
public void setOriginalNames(boolean set)
getCountStart
public long getCountStart()
setCountStart
public void setCountStart(long start)
isSetOverwriteAll
public boolean isSetOverwriteAll()
setOverwriteAll
public void setOverwriteAll(boolean set)
getProgressCurrentValue
public int getProgressCurrentValue()
- ProgressSource implementation
- Specified by:
getProgressCurrentValue
in interface ProgressSource
getProgressText
public java.lang.String getProgressText()
- ProgressSource implementation
- Specified by:
getProgressText
in interface ProgressSource
getProgressMinValue
public int getProgressMinValue()
- ProgressSource implementation
- Specified by:
getProgressMinValue
in interface ProgressSource
getProgressMaxValue
public int getProgressMaxValue()
- ProgressSource implementation
- Specified by:
getProgressMaxValue
in interface ProgressSource
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
- Overrides:
run
in class java.lang.Thread
getStatus
public int getStatus()
startSaving
public void startSaving()
stopSaving
public void stopSaving()