Holger's Java API

## Uses of Class
com.antelmann.cddb.XmcdFormatException

Packages that use XmcdFormatException
com.antelmann.cddb: This package contains classes to maintain music CD collections and associate CDs with information from a CDDB service.

Uses of XmcdFormatException in com.antelmann.cddb

Methods in com.antelmann.cddb that throw XmcdFormatException
`String[]` `CDDBXmcdParser.checkWarnings()` checks the xmcd file for completeness (this should return an empty array before the underlying content would be subject to a CDDB submission).
`Artist` `CDDBXmcdParser.extractCDArtist()` returns the artist defined for the CD or null if none was found
`Artist` `CDDBEntry.extractCDArtist()` returns the artist defined for the CD or null if none was found
`Composition` `CDDBXmcdParser.extractComposition(boolean includeTracks)` creates a default Composition object from the embedded CDInfo that regards the entire CD as one composition and will contain certain Composition objects as far as applicable.
`Composition` `CDDBEntry.extractComposition(boolean includeTracks)` creates a default Composition object from the embedded CDInfo that regards the entire CD as one composition and will contain certain Composition objects as far as applicable.
`Artist` `CDDBXmcdParser.extractTrackArtist(int track)` returns the artist defined for the track or null if none was found
`Artist` `CDDBEntry.extractTrackArtist(int track)` returns the artist defined for the track or null if none was found
`Track[]` `CDDBXmcdParser.extractTracks(boolean addArtist)` generates default Track objects that - if addArtist is true - contain applicable contributions
`Track[]` `CDDBEntry.extractTracks(boolean addArtist)` generates default Track objects that - if addArtist is true - contain applicable contributions
`Properties` `CDDBXmcdParser.getProperties()` returns a list of properties.
`protected String` `CDDBXmcdParser.getTagText(String tag)` returns the text for the tag that could be found in multiple lines
`boolean` `CDDBXmcdParser.isConsistenWith(CDID cd)` checks whether the given CD is consistent with the content
`protected String` `CDDBXmcdParser.parseTag(String btag, String etag, int index)` returns the text between btag and etag after index; leading and tailing white space is removed
`String` `CDDBXmcdParser.readArtist()` parses the title for the part before ' / ' which refers to the artist specified as <firstName lastName> by convention; null is returned if no artist separator could be found
`CDID` `CDDBXmcdParser.readCDID()` parses for the offsets and returns a CDID object using the first discID found in the DISCID field
`String` `CDDBXmcdParser.readCDTitle()` parses the title for the part after ' / ' which by convention refers to the CD title; if no title separator is found, the full title (same as `readTitle()`) is returned
`String[]` `CDDBXmcdParser.readDiscIDs()` parses for possibly multiple discIDs to support searching for discIDs that link to the same file
`String` `CDDBXmcdParser.readExtension()` parses for extended CD information
`String` `CDDBXmcdParser.readGenre()` parses for the genre
`int` `CDDBXmcdParser.readLength()` parses for the disc length and returns the seconds
`int[]` `CDDBXmcdParser.readPlayOrder()` parses for the play order
`String` `CDDBXmcdParser.readProcessedBy()` parses for the "Processed by" entry (an optional entry)
`int` `CDDBXmcdParser.readRevision()` parses for the revision number of the entry
`String` `CDDBXmcdParser.readSubmitter()` parses for the "Submitted via" entry
`String` `CDDBXmcdParser.readTitle()` parses for the full title
`String` `CDDBXmcdParser.readTitle(int track)` parses for the entire track title (including artist if available)
`String` `CDDBXmcdParser.readTrackArtist(int track)` parses for the track artist (using first the track artist info, then the CD artist info)
`String` `CDDBXmcdParser.readTrackExtension(int track)` parses for extended track info
`String` `CDDBXmcdParser.readTrackTitle(int track)` parses for the track title (without artist info if applicable)
`int` `CDDBXmcdParser.readYear()` parses for the year; returns 0 if no year was entered
`int` `FileCDDB.verifyDB()` verifies the entire content of the database and returns the number of available CDInfo instances if everything went smoothly.

Constructors in com.antelmann.cddb that throw XmcdFormatException
`CDDBEntry(CDDBRecord record, String fileContent)` The fileContent must be in xmcd format specified by CDDB and must contain the discID from the record.

(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads