org.apache.tika.parser.mp3
Interface ID3Tags

All Known Implementing Classes:
CompositeTagHandler, ID3v1Handler, ID3v22Handler, ID3v23Handler, ID3v24Handler

public interface ID3Tags

Interface that defines the common interface for ID3 tag parsers, such as ID3v1 and ID3v2.3. Implementations should return NULL if the file lacks a given tag, or if the tag isn't defined for the version. Note that so far, only the ID3v1 core tags are listed here. In future, we may wish to add more to cover the extra tags that our ID3v2 handlers can produce.


Field Summary
static String[] GENRES
          List of predefined genres.
 
Method Summary
 String getAlbum()
           
 String getArtist()
           
 String getComment()
           
 String getComposer()
           
 String getGenre()
           
 boolean getTagsPresent()
          Does the file contain this kind of tags?
 String getTitle()
           
 String getTrackNumber()
           
 String getYear()
           
 

Field Detail

GENRES

static final String[] GENRES
List of predefined genres.

See Also:
http://www.id3.org/id3v2-00
Method Detail

getTagsPresent

boolean getTagsPresent()
Does the file contain this kind of tags?


getTitle

String getTitle()

getArtist

String getArtist()

getAlbum

String getAlbum()

getComposer

String getComposer()

getComment

String getComment()

getGenre

String getGenre()

getYear

String getYear()

getTrackNumber

String getTrackNumber()


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.