|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
nan.tools.AbstractBackgroundTask
nan.tools.BackgroundWriter
Performs a serialization task in a background thread.
Field Summary |
Fields inherited from class nan.tools.AbstractBackgroundTask |
finished |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
BackgroundWriter(XMLSerializable data,
java.io.File file)
Creates a new BackgroundWriter object. |
Method Summary | |
void |
run()
Starts the thread and performs the serialization task. |
java.lang.String |
toString()
Returns a String representation of this BackgroundWriter. |
Methods inherited from class nan.tools.AbstractBackgroundTask |
isFinished |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BackgroundWriter(XMLSerializable data, java.io.File file)
data
- The XML expressible data to be serialized.file
- The file to serialize it to.Method Detail |
public void run()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |