com.googlepages.dronten.jripper.cdda2wav
Class ScanbusParserStdinThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.googlepages.dronten.jripper.util.BaseThread
          extended by com.googlepages.dronten.jripper.util.StreamThread
              extended by com.googlepages.dronten.jripper.cdda2wav.ScanbusParserStdinThread
All Implemented Interfaces:
java.lang.Runnable

public class ScanbusParserStdinThread
extends StreamThread

Parse the content info from the cdda2aw program and set album information.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.googlepages.dronten.jripper.util.StreamThread
StreamThread.ReadType
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class com.googlepages.dronten.jripper.util.StreamThread
aByteReader, aByteWriter, aLineReader, aType, aWrite
 
Fields inherited from class com.googlepages.dronten.jripper.util.BaseThread
aProgress, aRunning
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ScanbusParserStdinThread(Log log, Progress progress)
          Create parser and set work message.
 
Method Summary
 void data(java.lang.String line)
          Callback for the input data.
 java.util.Vector<java.lang.String> getDevices()
          Get all found devices.
 
Methods inherited from class com.googlepages.dronten.jripper.util.StreamThread
close, data, getType, isWriting, run, setByteReader, setByteWriter, setLineReader, write
 
Methods inherited from class com.googlepages.dronten.jripper.util.BaseThread
addLog, getLog, getTrackNum, hasFailed, setFailed, setLog, setTrackNum, stopLogging, stopRunning
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScanbusParserStdinThread

public ScanbusParserStdinThread(Log log,
                                Progress progress)
                         throws java.lang.Exception
Create parser and set work message.

Throws:
java.lang.Exception
Method Detail

data

public void data(java.lang.String line)
Callback for the input data.

Overrides:
data in class StreamThread
Parameters:
line -

getDevices

public java.util.Vector<java.lang.String> getDevices()
Get all found devices.

Returns:
Array of devices