entagged.audioformats
Interface Tag


public interface Tag


Field Summary
static java.lang.String[] DEFAULT_GENRES
          This final field contains all the tags that id3v1 supports.
 
Method Summary
 void add(entagged.audioformats.generic.TagField field)
           
 void addAlbum(java.lang.String s)
           
 void addArtist(java.lang.String s)
           
 void addComment(java.lang.String s)
           
 void addGenre(java.lang.String s)
           
 void addTitle(java.lang.String s)
           
 void addTrack(java.lang.String s)
           
 void addYear(java.lang.String s)
           
 java.util.List get(java.lang.String id)
           
 java.util.List getAlbum()
           
 java.util.List getArtist()
           
 java.util.List getComment()
           
 java.util.Iterator getFields()
           
 java.lang.String getFirstAlbum()
           
 java.lang.String getFirstArtist()
           
 java.lang.String getFirstComment()
           
 java.lang.String getFirstGenre()
           
 java.lang.String getFirstTitle()
           
 java.lang.String getFirstTrack()
           
 java.lang.String getFirstYear()
           
 java.util.List getGenre()
           
 java.util.List getTitle()
           
 java.util.List getTrack()
           
 java.util.List getYear()
           
 boolean hasCommonFields()
           
 boolean hasField(java.lang.String id)
           
 boolean isEmpty()
           
 void merge(Tag tag)
           
 void set(entagged.audioformats.generic.TagField field)
           
 void setAlbum(java.lang.String s)
           
 void setArtist(java.lang.String s)
           
 void setComment(java.lang.String s)
           
 boolean setEncoding(java.lang.String enc)
           
 void setGenre(java.lang.String s)
           
 void setTitle(java.lang.String s)
           
 void setTrack(java.lang.String s)
           
 void setYear(java.lang.String s)
           
 java.lang.String toString()
           
 

Field Detail

DEFAULT_GENRES

public static final java.lang.String[] DEFAULT_GENRES
This final field contains all the tags that id3v1 supports. The list has the same order as the id3v1 genres. To be perfectly compatible (with id3v1) the genre field should match one of these genre (case ignored). You can also use this list to present a list of basic (modifiable) possible choices for the genre field.

Method Detail

add

public void add(entagged.audioformats.generic.TagField field)

addAlbum

public void addAlbum(java.lang.String s)

addArtist

public void addArtist(java.lang.String s)

addComment

public void addComment(java.lang.String s)

addGenre

public void addGenre(java.lang.String s)

addTitle

public void addTitle(java.lang.String s)

addTrack

public void addTrack(java.lang.String s)

addYear

public void addYear(java.lang.String s)

get

public java.util.List get(java.lang.String id)

getFields

public java.util.Iterator getFields()

getGenre

public java.util.List getGenre()

getTitle

public java.util.List getTitle()

getTrack

public java.util.List getTrack()

getYear

public java.util.List getYear()

getAlbum

public java.util.List getAlbum()

getArtist

public java.util.List getArtist()

getComment

public java.util.List getComment()

getFirstGenre

public java.lang.String getFirstGenre()

getFirstTitle

public java.lang.String getFirstTitle()

getFirstTrack

public java.lang.String getFirstTrack()

getFirstYear

public java.lang.String getFirstYear()

getFirstAlbum

public java.lang.String getFirstAlbum()

getFirstArtist

public java.lang.String getFirstArtist()

getFirstComment

public java.lang.String getFirstComment()

hasCommonFields

public boolean hasCommonFields()

hasField

public boolean hasField(java.lang.String id)

isEmpty

public boolean isEmpty()

merge

public void merge(Tag tag)

set

public void set(entagged.audioformats.generic.TagField field)

setAlbum

public void setAlbum(java.lang.String s)

setArtist

public void setArtist(java.lang.String s)

setComment

public void setComment(java.lang.String s)

setGenre

public void setGenre(java.lang.String s)

setTitle

public void setTitle(java.lang.String s)

setTrack

public void setTrack(java.lang.String s)

setYear

public void setYear(java.lang.String s)

setEncoding

public boolean setEncoding(java.lang.String enc)

toString

public java.lang.String toString()