net.datacrow.util.freedb
Class DiscIDUtil

java.lang.Object
  extended by net.datacrow.util.freedb.DiscIDUtil

public class DiscIDUtil
extends java.lang.Object


Constructor Summary
DiscIDUtil()
           
 
Method Summary
 boolean isSuccess()
          Indicates whether the disc ID was read successfully
 java.lang.String readDiscID()
          Read the disc ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscIDUtil

public DiscIDUtil()
Method Detail

isSuccess

public boolean isSuccess()
Indicates whether the disc ID was read successfully

Returns:
success indicator

readDiscID

public java.lang.String readDiscID()
                            throws java.io.IOException
Read the disc ID. The disc ID is read in a separate process as this is done platform dependent.

Returns:
valid disc id (with track offsets)
Throws:
java.io.IOException