|
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.CDDBRecord
public class CDDBRecord
Represents a unique entry in a CDDB database.
This CDDBRecord object can be used to read the content from a CDDB in form of a CDInfo object.
CDDB,
CDInfo,
Serialized Form| Constructor Summary | |
|---|---|
CDDBRecord(String category,
String discid,
String title)
produces an exact match record with the given parameters; the order of the parameters is according to the output of the CDDB protocol. |
|
CDDBRecord(String category,
String discid,
String title,
boolean exactMatch)
initializes a record that can be used to query CDDB for this entry. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getCategory()
returns the category under which this record is filed |
String |
getDiscID()
returns the DiscID that can be used to match the record with a CDID object |
String |
getTitle()
returns the title of this record |
int |
hashCode()
hashes the discID |
boolean |
isExactMatch()
relevant only when derived from a CDDB query: returns whether the CDDBRecord was the result of an exact match of the CD used for the query. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CDDBRecord(String category,
String discid,
String title)
public CDDBRecord(String category,
String discid,
String title,
boolean exactMatch)
CDDB.queryCD(CDID)| Method Detail |
|---|
public String getTitle()
public String getCategory()
public String getDiscID()
CDID.getDiscID()public boolean isExactMatch()
CDDB.queryCD(CDID)public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||