org.tritonus.lowlevel.cdda.cdparanoia
Class CdparanoiaMidLevel
java.lang.Object
org.tritonus.lowlevel.cdda.cdparanoia.CdparanoiaMidLevel
- All Implemented Interfaces:
- CddaMidLevel
- public class CdparanoiaMidLevel
- extends Object
- implements CddaMidLevel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CdparanoiaMidLevel
public CdparanoiaMidLevel()
getDevices
public Iterator getDevices()
- Description copied from interface:
CddaMidLevel
- Gives the available CDROM devices.
The returned iteration should contain a list of Strings.
Each String represents an internal name of a CDROM drive.
This String should be considered implementation-specific.
It may contain no useful information (however, most
time it does). Currently, it is required that the
String starts with exactely one '/'.
Should only those drives returned that have an audio CD in?
- Specified by:
getDevices
in interface CddaMidLevel
getDefaultDevice
public String getDefaultDevice()
- Description copied from interface:
CddaMidLevel
- Gives the default drive.
A String should be returned that represents the default drive.
The String has to follow the conventions described in
getDevices(). The String returned by this method should also
appear as one of the elements in the iteration returned
by getDevices().
- Specified by:
getDefaultDevice
in interface CddaMidLevel
getTocAsXml
public InputStream getTocAsXml(String strDevice)
throws IOException
- Specified by:
getTocAsXml
in interface CddaMidLevel
- Throws:
IOException
getTrack
public AudioInputStream getTrack(String strDevice,
int nTrack)
throws IOException
- Specified by:
getTrack
in interface CddaMidLevel
- Throws:
IOException