Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

entagged.freedb
Class FreeDBReadResult  view FreeDBReadResult download FreeDBReadResult.java

java.lang.Object
  extended byentagged.freedb.FreeDBReadResult

public class FreeDBReadResult
extends java.lang.Object

Represent a freedb server Read result and defines method to access the data collected $Id: FreeDBReadResult.java,v 1.3 2003/09/22 14:20:45 kikidonk Exp $

Version:
v0.03

Field Summary
private  java.lang.String album
          Holds the Album of this result
private  java.lang.String artist
          Holds the Artist of this result
private  java.lang.String DGENRE
          Holds the ID3 Genre of this result
private  java.lang.String DISCID
          Holds the freedb Disc ID of this result
private  java.lang.String DYEAR
          Holds the Year of this result
private  java.lang.String EXTD
          Holds the Extended data of this result
private  java.lang.String[] EXTT
          Holds an array of extended comments for each track of this result
private  java.lang.String PLAYORDER
          Holds the Play order of this result
private  java.lang.String[] TITLE
          Holds an array of track titles for each track of this result
private  int totalTracks
          Contains the total number of tracks in this Read result
 
Constructor Summary
FreeDBReadResult(java.lang.Object[] fields)
          Creates a Read result object
 
Method Summary
 java.lang.String getAlbum()
          Gets the album attribute of the FreeDBReadResult object
 java.lang.String getArtist()
          Gets the artist attribute of the FreeDBReadResult object
 java.lang.String getExtendedCDData()
          Gets the extendedCDData attribute of the FreeDBReadResult object
 java.lang.String[] getExtendedTracksData()
          Gets the extendedTracksData attribute of the FreeDBReadResult object
 java.lang.String getFormattedTrackNumber(int i)
          Gets the given formatted TrackNumber
 java.lang.String getGenre()
          Gets the genre attribute of the FreeDBReadResult object
 java.lang.String getID()
          Gets the iD attribute of the FreeDBReadResult object
 entagged.formats.mp3.ID3v1Tag getID3v1Tag(int i)
          Gets the iD3v1Tag attribute of the FreeDBReadResult object
 entagged.formats.mp3.ID3v2Tag getID3v2Tag(int i)
          Gets the iD3v2Tag attribute of the FreeDBReadResult object
 java.lang.String getTrackNumber(int i)
          Gets the given track Number
 java.lang.String[] getTracksTitle()
          Gets the tracksTitle attribute of the FreeDBReadResult object
 java.lang.String getYear()
          Gets the year attribute of the FreeDBReadResult object
 java.lang.String toString()
          Create a string representation of this result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DGENRE

private java.lang.String DGENRE
Holds the ID3 Genre of this result


DISCID

private java.lang.String DISCID
Holds the freedb Disc ID of this result


DYEAR

private java.lang.String DYEAR
Holds the Year of this result


EXTD

private java.lang.String EXTD
Holds the Extended data of this result


EXTT

private java.lang.String[] EXTT
Holds an array of extended comments for each track of this result


PLAYORDER

private java.lang.String PLAYORDER
Holds the Play order of this result


TITLE

private java.lang.String[] TITLE
Holds an array of track titles for each track of this result


album

private java.lang.String album
Holds the Album of this result


artist

private java.lang.String artist
Holds the Artist of this result


totalTracks

private int totalTracks
Contains the total number of tracks in this Read result

Constructor Detail

FreeDBReadResult

public FreeDBReadResult(java.lang.Object[] fields)
Creates a Read result object

Method Detail

getAlbum

public java.lang.String getAlbum()
Gets the album attribute of the FreeDBReadResult object


getArtist

public java.lang.String getArtist()
Gets the artist attribute of the FreeDBReadResult object


getExtendedCDData

public java.lang.String getExtendedCDData()
Gets the extendedCDData attribute of the FreeDBReadResult object


getExtendedTracksData

public java.lang.String[] getExtendedTracksData()
Gets the extendedTracksData attribute of the FreeDBReadResult object


getFormattedTrackNumber

public java.lang.String getFormattedTrackNumber(int i)
Gets the given formatted TrackNumber


getGenre

public java.lang.String getGenre()
Gets the genre attribute of the FreeDBReadResult object


getID

public java.lang.String getID()
Gets the iD attribute of the FreeDBReadResult object


getID3v1Tag

public entagged.formats.mp3.ID3v1Tag getID3v1Tag(int i)
Gets the iD3v1Tag attribute of the FreeDBReadResult object


getID3v2Tag

public entagged.formats.mp3.ID3v2Tag getID3v2Tag(int i)
Gets the iD3v2Tag attribute of the FreeDBReadResult object


getTrackNumber

public java.lang.String getTrackNumber(int i)
Gets the given track Number


getTracksTitle

public java.lang.String[] getTracksTitle()
Gets the tracksTitle attribute of the FreeDBReadResult object


getYear

public java.lang.String getYear()
Gets the year attribute of the FreeDBReadResult object


toString

public java.lang.String toString()
Create a string representation of this result