com.tuneology.avm.ripper
Interface Ripper
- All Known Implementing Classes:
- AkRipper, ReadcdRipper, CdparanoiaRipper, Cdda2wavRipper
- public interface Ripper
An abstract class representing a mechanism for reading data from Audio CD
discs.
- Version:
- $Id: Ripper.java,v 1.3 2003/02/24 01:41:38 xnarf Exp $
- Author:
- Fran Taylor
Method Summary |
java.lang.String |
getProcessOutput()
|
java.io.InputStream |
ripTrack(int track,
int startIndex,
int len,
int bufsiz,
RipStatus stat)
Returns a stream containing the data from the desired track. |
ripTrack
public java.io.InputStream ripTrack(int track,
int startIndex,
int len,
int bufsiz,
RipStatus stat)
throws java.lang.Exception
- Returns a stream containing the data from the desired track.
- Parameters:
track
- the track to ripstartIndex
- where to start within the track; 0 is the beginning.len
- the number of sectors to read (-1 means until the end of the track).bufsiz
- the buffer size to use (0 or less means use the default).stat
- a callback for reporting rip status- Returns:
- the data stream.
- Throws:
java.lang.Exception
-
getProcessOutput
public java.lang.String getProcessOutput()
- Returns:
- the output from the process.