|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.tuneology.avm.burner.ShellBurner
|
+--com.tuneology.avm.burner.HdiutilBurner
Implements writing CD-R data using the hdiutil program (OSX only).
| Fields inherited from class com.tuneology.avm.burner.ShellBurner |
atipInfo, drive, maxMediaWriteSpeed, msInfo, pm, shellEncoding |
| Fields inherited from interface com.tuneology.avm.burner.Burner |
BLANK_ALL, BLANK_FAST, BLANK_FORCE, BLANK_SESSION, BLANK_TRACK, BLANK_TRTAIL, BLANK_UNCLOSE, BLANK_UNRESERVE, DAO_MODE, DUMMY_MODE, ENABLE_MULTISESSION_BIT, FIXATING, PREPARING, RAW_MODE, RAW16_MODE, RAW96P_MODE, RAW96R_MODE, READING, STARTING, SUPPORTS_AUDIO_TRACKS, SUPPORTS_CDPLUS_DISCS, SUPPORTS_CDTEXT, SUPPORTS_COPY, SUPPORTS_CUE_FILES, SUPPORTS_DAO_MODE, SUPPORTS_DATA_TRACK, SUPPORTS_ERASE, SUPPORTS_MULTISESSION, SUPPORTS_TAO_MODE, TAO_MODE, WRITING_TRACKS |
| Constructor Summary | |
HdiutilBurner(CDRDrive drive)
|
|
| Method Summary | |
protected void |
cleanupErase()
|
protected void |
cleanupMsinfo()
|
protected void |
cleanupSession(java.io.File tempDir)
|
void |
erase(int mode)
Erases the disc according to the desired mode. |
protected java.util.ArrayList |
getAtipCmd()
Returns the command required to read the ATIP info from the disc. |
static int |
getCapabilities()
|
protected java.util.ArrayList |
getCopyCmd(CDDrive src,
int speed,
boolean onTheFly)
Returns the command required to create a copy of the disc in the src drive. |
static java.lang.String |
getDescription()
|
protected java.util.ArrayList |
getEraseCmd(int mode)
Returns the command required to erase the disc in the given mode. |
protected java.util.ArrayList |
getMsinfoCmd()
Returns the command required to read the multisession info from the disc. |
protected java.util.ArrayList |
getSessionCmd(int speed,
int mode,
boolean multi,
java.lang.String mcn,
java.lang.String[] tracks,
boolean[] types,
DiscInfo info,
java.io.File tempDir)
Generates the shell command used to write a session on the disc. |
protected java.util.ArrayList |
getStreamingCmd(int speed,
int mode,
boolean multi,
java.lang.String mcn,
boolean type,
TocEntry cdText)
Generates the shell command for writing a data stream to a session on the disc. |
static java.lang.String |
getVersionString()
|
protected boolean |
readAtipOutput(java.lang.String str)
Called for each line of output from the program while reading the ATIP info from a disc. |
protected boolean |
readCopyOutput(java.lang.String str)
Called for each line of output from the program while copying a disc. |
protected boolean |
readEraseOutput(java.lang.String str)
Called for each line of output from the program while erasing a disc. |
protected boolean |
readMsinfoOutput(java.lang.String str)
Called for each line of output from the program while reading the multisession info from a disc. |
protected boolean |
readSessionOutput(java.lang.String str)
Called for each line of output from the program while writing a session. |
| Methods inherited from class com.tuneology.avm.burner.ShellBurner |
burnSession, createCopy, getAtipInfo, getMsinfo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.tuneology.avm.burner.Burner |
burnSession, createCopy, getAtipInfo, getMsinfo |
| Constructor Detail |
public HdiutilBurner(CDRDrive drive)
drive - | Method Detail |
protected java.util.ArrayList getStreamingCmd(int speed,
int mode,
boolean multi,
java.lang.String mcn,
boolean type,
TocEntry cdText)
throws java.lang.Exception
getStreamingCmd in class ShellBurnerspeed - mode - multi - mcn - type - cdText - java.io.IOException -
protected java.util.ArrayList getSessionCmd(int speed,
int mode,
boolean multi,
java.lang.String mcn,
java.lang.String[] tracks,
boolean[] types,
DiscInfo info,
java.io.File tempDir)
throws java.lang.Exception
getSessionCmd in class ShellBurnerspeed - mode - multi - mcn - tracks - types - info - java.lang.Exception - protected boolean readSessionOutput(java.lang.String str)
ShellBurnerreadSessionOutput in class ShellBurnercom.tuneology.avm.burner.ShellBurnerstr - the line of output.java.lang.Exception -
protected void cleanupSession(java.io.File tempDir)
throws java.lang.Exception
cleanupSession in class ShellBurnerjava.lang.Exception -
protected void cleanupErase()
throws java.lang.Exception
cleanupErase in class ShellBurnerjava.lang.Exception -
protected void cleanupMsinfo()
throws java.lang.Exception
cleanupMsinfo in class ShellBurnerjava.lang.Exception - protected java.util.ArrayList getAtipCmd()
ShellBurnergetAtipCmd in class ShellBurnercom.tuneology.avm.burner.ShellBurnerprotected boolean readAtipOutput(java.lang.String str)
ShellBurnerreadAtipOutput in class ShellBurnercom.tuneology.avm.burner.ShellBurnerstr - the line of output.
protected java.util.ArrayList getCopyCmd(CDDrive src,
int speed,
boolean onTheFly)
throws java.lang.Exception
ShellBurnergetCopyCmd in class ShellBurnercom.tuneology.avm.burner.ShellBurnerjava.lang.Exception - protected boolean readCopyOutput(java.lang.String str)
ShellBurnerreadCopyOutput in class ShellBurnercom.tuneology.avm.burner.ShellBurnerstr - the line of output.protected java.util.ArrayList getMsinfoCmd()
ShellBurnergetMsinfoCmd in class ShellBurnercom.tuneology.avm.burner.ShellBurnerprotected boolean readMsinfoOutput(java.lang.String str)
ShellBurnerreadMsinfoOutput in class ShellBurnercom.tuneology.avm.burner.ShellBurnerstr - the line of output.protected java.util.ArrayList getEraseCmd(int mode)
ShellBurnergetEraseCmd in class ShellBurnercom.tuneology.avm.burner.ShellBurnermode - the desired erase mode
public void erase(int mode)
throws java.lang.Exception
Burnererase in interface Burnererase in class ShellBurnercom.tuneology.avm.burner.Burnermode - the erase mode, one of the BLANK_ constants,
optionally or'ed with BLANK_FORCE.java.lang.Exception - protected boolean readEraseOutput(java.lang.String str)
ShellBurnerreadEraseOutput in class ShellBurnercom.tuneology.avm.burner.ShellBurnerstr - the line of output.public static int getCapabilities()
public static java.lang.String getVersionString()
public static java.lang.String getDescription()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||