org.apache.tika.parser.mp3
Class ID3v24Handler

java.lang.Object
  extended by org.apache.tika.parser.mp3.ID3v24Handler
All Implemented Interfaces:
ID3Tags

public class ID3v24Handler
extends java.lang.Object
implements ID3Tags

This is used to parse ID3 Version 2.4 Tag information from an MP3 file, if available.

See Also:
MP3 ID3 Version 2.4 specification, MP3 ID3 Version 2.4 frames/tags

Field Summary
 
Fields inherited from interface org.apache.tika.parser.mp3.ID3Tags
GENRES
 
Constructor Summary
ID3v24Handler(ID3v2Frame frame)
           
 
Method Summary
 java.lang.String getAlbum()
           
 java.lang.String getArtist()
           
 java.lang.String getComment()
           
 java.lang.String getGenre()
           
 boolean getTagsPresent()
          Does the file contain this kind of tags?
 java.lang.String getTitle()
           
 java.lang.String getTrackNumber()
           
 java.lang.String getYear()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ID3v24Handler

public ID3v24Handler(ID3v2Frame frame)
              throws java.io.IOException,
                     org.xml.sax.SAXException,
                     TikaException
Throws:
java.io.IOException
org.xml.sax.SAXException
TikaException
Method Detail

getTagsPresent

public boolean getTagsPresent()
Description copied from interface: ID3Tags
Does the file contain this kind of tags?

Specified by:
getTagsPresent in interface ID3Tags

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface ID3Tags

getArtist

public java.lang.String getArtist()
Specified by:
getArtist in interface ID3Tags

getAlbum

public java.lang.String getAlbum()
Specified by:
getAlbum in interface ID3Tags

getYear

public java.lang.String getYear()
Specified by:
getYear in interface ID3Tags

getComment

public java.lang.String getComment()
Specified by:
getComment in interface ID3Tags

getGenre

public java.lang.String getGenre()
Specified by:
getGenre in interface ID3Tags

getTrackNumber

public java.lang.String getTrackNumber()
Specified by:
getTrackNumber in interface ID3Tags


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