|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antelmann.cddb.CDDrive
com.antelmann.cddb.CDDriveWin
@NativeCode(value="requires CDDriveWin.dll") public class CDDriveWin
This class is a Win32 specific implementation of CDDrive, which uses native function calls to access the CD-ROM drive. In order to run this class, you will need the library CDDriveWin.dll in your java.library.path or your windows path environment.
If you encounter an UnsatisfiedLinkError because
you don't have the required library for this class, you can downlad
the file from http://www.antelmann.com/developer/.
Note that the C source code for CDDriveWin.dll is based on the GNU GPL available work from Jay A. Key.
| Field Summary | |
|---|---|
protected int |
driveNum
|
| Constructor Summary | |
|---|---|
CDDriveWin()
|
|
CDDriveWin(int driveNum)
the first drive is 0 |
|
| Method Summary | |
|---|---|
void |
backward()
method not implemented (throws UnsupportedOperationException) |
void |
eject()
method not implemented (throws UnsupportedOperationException) |
void |
forward()
method not implemented (throws UnsupportedOperationException) |
String |
getCDDBQuery()
This method is a platform dependent call that queries available CD-ROM drives to get the query string processed for further analysis. |
void |
pause()
method not implemented (throws UnsupportedOperationException) |
void |
play()
method not implemented (throws UnsupportedOperationException) |
void |
stop()
method not implemented (throws UnsupportedOperationException) |
| Methods inherited from class com.antelmann.cddb.CDDrive |
|---|
getCDID, getQueryString, isCDAvailable, refresh |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int driveNum
| Constructor Detail |
|---|
public CDDriveWin()
public CDDriveWin(int driveNum)
| Method Detail |
|---|
public String getCDDBQuery()
CDDrive
public void eject()
eject in class CDDrivepublic void play()
play in class CDDrivepublic void stop()
stop in class CDDrivepublic void backward()
backward in class CDDrivepublic void forward()
forward in class CDDrivepublic void pause()
pause in class CDDrive
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||