org.apache.tika.parser.mp3
Class CompositeTagHandler
java.lang.Object
org.apache.tika.parser.mp3.CompositeTagHandler
- All Implemented Interfaces:
- ID3Tags
public class CompositeTagHandler
- extends java.lang.Object
- implements ID3Tags
Takes an array of ID3Tags
in preference order, and when asked for
a given tag, will return it from the first ID3Tags
that has it.
Fields inherited from interface org.apache.tika.parser.mp3.ID3Tags |
GENRES |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeTagHandler
public CompositeTagHandler(ID3Tags[] tags)
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
getComposer
public java.lang.String getComposer()
- Specified by:
getComposer
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-2011 The Apache Software Foundation. All Rights Reserved.