Package org.apache.tika.parser.mp3
Class CompositeTagHandler
- java.lang.Object
-
- org.apache.tika.parser.mp3.CompositeTagHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tika.parser.mp3.ID3Tags
ID3Tags.ID3Comment
-
-
Constructor Summary
Constructors Constructor Description CompositeTagHandler(ID3Tags[] tags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlbum()
String
getAlbumArtist()
The Artist for the overall album / compilation of albumsString
getArtist()
The Artist for the trackList<ID3Tags.ID3Comment>
getComments()
Retrieves the comments, if any.String
getCompilation()
String
getComposer()
String
getDisc()
The number of the disc this belongs to, within the setString
getGenre()
boolean
getTagsPresent()
Does the file contain this kind of tags?String
getTitle()
String
getTrackNumber()
The number of the track within the album / recordingString
getYear()
-
-
-
Constructor Detail
-
CompositeTagHandler
public CompositeTagHandler(ID3Tags[] tags)
-
-
Method Detail
-
getTagsPresent
public boolean getTagsPresent()
Description copied from interface:ID3Tags
Does the file contain this kind of tags?- Specified by:
getTagsPresent
in interfaceID3Tags
-
getArtist
public String getArtist()
Description copied from interface:ID3Tags
The Artist for the track
-
getComposer
public String getComposer()
- Specified by:
getComposer
in interfaceID3Tags
-
getComments
public List<ID3Tags.ID3Comment> getComments()
Description copied from interface:ID3Tags
Retrieves the comments, if any. Files may have more than one comment, but normally only one with any language/description pair.- Specified by:
getComments
in interfaceID3Tags
-
getTrackNumber
public String getTrackNumber()
Description copied from interface:ID3Tags
The number of the track within the album / recording- Specified by:
getTrackNumber
in interfaceID3Tags
-
getAlbumArtist
public String getAlbumArtist()
Description copied from interface:ID3Tags
The Artist for the overall album / compilation of albums- Specified by:
getAlbumArtist
in interfaceID3Tags
-
getDisc
public String getDisc()
Description copied from interface:ID3Tags
The number of the disc this belongs to, within the set
-
getCompilation
public String getCompilation()
- Specified by:
getCompilation
in interfaceID3Tags
-
-