com.googlepages.dronten.jripper.cdda2wav
Class ContentsParserThread

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.ContentsParserThread
All Implemented Interfaces:
java.lang.Runnable

public class ContentsParserThread
extends StreamThread

Parse the content info from the cdda2wav 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
 Album aAlbum
           
 
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
ContentsParserThread(Log log, Progress progress)
          Create parser and set work message.
 
Method Summary
 void data(java.lang.String line)
          Callback for parsing data from cdda2wav program.
 boolean hasFailed()
          Has thread failed during running?
 java.lang.String toString()
           
 
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, 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, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

aAlbum

public Album aAlbum
Constructor Detail

ContentsParserThread

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

Parameters:
log -
progress -
Throws:
java.lang.Exception
Method Detail

hasFailed

public boolean hasFailed()
Description copied from class: BaseThread
Has thread failed during running?

Overrides:
hasFailed in class BaseThread
Returns:
true if we has failed with reading disc toc

data

public void data(java.lang.String line)
Callback for parsing data from cdda2wav program.

Overrides:
data in class StreamThread
Parameters:
line - String from cdda2wav

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Thread
Returns: