Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
MarcXmlParserThread(RecordStack queue)
Creates a new instance and registers the
RecordQueue. |
MarcXmlParserThread(RecordStack queue,
InputSource input)
Creates a new instance and registers the
RecordQueue and the
InputStream. |
| Modifier and Type | Method and Description |
|---|---|
InputSource |
getInputSource()
Returns the input stream.
|
TransformerHandler |
getTransformerHandler()
Returns the content handler to transform the source to MARCXML.
|
void |
run()
Creates a new
MarcXmlHandler instance, registers the
RecordQueue and sends the InputStream to the
MarcXmlParser parser. |
void |
setInputSource(InputSource input)
Sets the input stream.
|
void |
setTransformerHandler(TransformerHandler th)
Sets the content handler to transform the source to MARCXML.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic MarcXmlParserThread(RecordStack queue)
RecordQueue.queue - the record queuepublic MarcXmlParserThread(RecordStack queue, InputSource input)
RecordQueue and the
InputStream.queue - the record queueinput - the input streampublic TransformerHandler getTransformerHandler()
public void setTransformerHandler(TransformerHandler th)
th - - the transformation content handlerpublic InputSource getInputSource()
public void setInputSource(InputSource input)
input - the input streamCopyright © 2014 FreeLibrary. All Rights Reserved.