com.tuneology.avm.drive
Class CDRDrive

java.lang.Object
  |
  +--com.tuneology.avm.drive.Drive
        |
        +--com.tuneology.avm.drive.CDDrive
              |
              +--com.tuneology.avm.drive.CDRDrive
Direct Known Subclasses:
CDRWDrive

public class CDRDrive
extends CDDrive

An interface to a CD-R drive.

Version:
$Id: CDRDrive.java,v 1.12 2003/05/30 07:21:02 xnarf Exp $
Author:
Fran Taylor

Fields inherited from class com.tuneology.avm.drive.CDDrive
audio_play, AUDIO_TRACK, AUDIO_TRACKS_BIT, BCK, bclk, BUF, buffer_size, c2_pointers, cd_da_accurate, cd_da_supported, cd_r_read, cd_r_write, cd_rw_read, cd_rw_write, cdrdaoCmd, cdrecordCmd, composite, cur_read_speed, cur_write_speed, curInfo, DATA_TRACK, DATA_TRACKS_BIT, digital_port_1, digital_port_2, DISC_PRESENT_BIT, disk_present_rep, DRIVE_CLOSED_BIT, DRIVE_READY_BIT, dvd_r_read, dvd_r_write, dvd_ram_read, dvd_ram_write, dvd_rom_read, ERASABLE_DISC, EXTRA_FILE, FS_3DO, FS_BOOTABLE, FS_CDTV, FS_EXT2, FS_HFS, FS_HIDDEN_TRACK, FS_HIGH_SIERRA, FS_INTERACTIVE, FS_ISO_9660, FS_ISO_9660_INTERACTIVE, FS_ISO_HFS, FS_JOLIET, FS_MASK, FS_MULTISESSION, FS_NO_DATA, FS_PHOTO_CD, FS_ROCKRIDGE, FS_UFS, FS_UNKNOWN, FS_VIDEOCDI, FS_XA, ISRC, load_type, lock, LSBF, max_read_speed, max_write_speed, method2, mode_2_form_1, mode_2_form_2, multi_session, num_vol_levels, prevent_jumper, processOutput, pw_in_lead_in, RCK, read_bar_code, RECORDABLE_DISC, rw_deint_corr, rw_supported, sep_chan_mute, sep_chan_vol, side_change, sw_slot_sel, test_write, UPC, writeSpeeds
 
Fields inherited from class com.tuneology.avm.drive.Drive
ent, refNum, TYPE_CDR, TYPE_CDROM, TYPE_CDRW, TYPE_DVD, TYPE_DVDR, TYPE_DVDRAM, TYPE_EJECTABLE, TYPE_FIXEDDISC, TYPE_FLOPPY, TYPE_LOADABLE, TYPE_LOOPBACK, TYPE_NETWORK, TYPE_OTHER, TYPE_REMOVABLE
 
Method Summary
 AtipInfo getAtipInfo()
          Returns the ATIP info from the disc.
 Burner getBurner()
          Returns the current burner.
static int getBurnerCapabilities(java.lang.Class burner)
          Returns the capabilities of the burner.
static java.lang.String getBurnerDescription(java.lang.Class burner)
          Returns the description of the burner.
static java.lang.Class[] getBurners()
          Returns an array of burner classes.
 java.lang.Integer[] getDriveWriteSpeeds()
          Returns the write speeds of the drive.
static java.lang.String getVersions()
          Returns the version numbers of the programs used.
 void setBurner(java.lang.Class b)
          Sets which burning program to use.
 
Methods inherited from class com.tuneology.avm.drive.CDDrive
addChangeListener, createImage, doUpdate, getAudioRipper, getAudioRippers, getCdrdaoCmd, getCdrdaoDriver, getCdrdaoDrivers, getCdrecordCmd, getDataRipper, getDataRippers, getDefaultCdrdaoDriver, getDevCdrecordCmd, getDevice, getDiscInfo, getDriveReadSpeed, getGenericDev, getMountPoints, getPlayer, getRipperDescription, isLoaded, readCapabilities, removeChangeListener, ripTrack, setAudioRipper, setCdrdaoCmd, setCdrdaoDriver, setCdrecordCmd, setDataRipper, setPlayer, startUpdate, stopUpdate, touch
 
Methods inherited from class com.tuneology.avm.drive.Drive
findDriveByDevice, findDriveByScsiId, findMountPointByDevice, getDefaultCDROM, getDisktoolCmd, getDrive, getDriveList, getDriveType, getDriveType, getEntry, getHdiutilCmd, getManufacturer, getModel, getMountPoint, getNameMax, getScsiId, getScsiId, getVersion, isCDR, isCdrom, setDiscFreeCmd, setDisktoolCmd, setFstabPath, setHdiutilCmd, setMountCmd, setUmountCmd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDriveWriteSpeeds

public java.lang.Integer[] getDriveWriteSpeeds()
Returns the write speeds of the drive.
Returns:
the write speeds of the drive, in ascending order.

getAtipInfo

public AtipInfo getAtipInfo()
                     throws java.lang.Exception
Returns the ATIP info from the disc.
Returns:
the ATIP info from the disc.
Throws:
java.lang.Exception -  

getVersions

public static java.lang.String getVersions()
Returns the version numbers of the programs used.
Returns:
version numbers of the programs used.

getBurners

public static java.lang.Class[] getBurners()
Returns an array of burner classes.
Returns:
an array of burner classes.

getBurner

public Burner getBurner()
Returns the current burner.
Returns:
the current burner.

setBurner

public void setBurner(java.lang.Class b)
               throws java.lang.Exception
Sets which burning program to use.
Parameters:
burner -  
Throws:
java.lang.Exception - if the class is not a valid burner.

getBurnerDescription

public static java.lang.String getBurnerDescription(java.lang.Class burner)
Returns the description of the burner.
Returns:
the description of the burner.

getBurnerCapabilities

public static int getBurnerCapabilities(java.lang.Class burner)
                                 throws java.lang.Exception
Returns the capabilities of the burner.
Returns:
the capabilities of the burner.
Throws:
java.lang.Exception -