Package org.apache.tika.parser.mp3
Interface ID3Tags
- All Known Implementing Classes:
CompositeTagHandler,ID3v1Handler,ID3v22Handler,ID3v23Handler,ID3v24Handler
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated.This version of the Apache Tika library is deprecated. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetAlbum()Deprecated.Deprecated.The Artist for the overall album / compilation of albumsDeprecated.The Artist for the trackDeprecated.Retrieves the comments, if any.Deprecated.Deprecated.getDisc()Deprecated.The number of the disc this belongs to, within the setgetGenre()Deprecated.booleanDeprecated.Does the file contain this kind of tags?getTitle()Deprecated.Deprecated.The number of the track within the album / recordinggetYear()Deprecated.
-
Field Details
-
GENRES
Deprecated.List of predefined genres. See http://www.id3.org/id3v2-00
-
-
Method Details
-
getTagsPresent
boolean getTagsPresent()Deprecated.Does the file contain this kind of tags? -
getTitle
String getTitle()Deprecated. -
getArtist
String getArtist()Deprecated.The Artist for the track -
getAlbumArtist
String getAlbumArtist()Deprecated.The Artist for the overall album / compilation of albums -
getAlbum
String getAlbum()Deprecated. -
getComposer
String getComposer()Deprecated. -
getCompilation
String getCompilation()Deprecated. -
getComments
List<ID3Tags.ID3Comment> getComments()Deprecated.Retrieves the comments, if any. Files may have more than one comment, but normally only one with any language/description pair. -
getGenre
String getGenre()Deprecated. -
getYear
String getYear()Deprecated. -
getTrackNumber
String getTrackNumber()Deprecated.The number of the track within the album / recording -
getDisc
String getDisc()Deprecated.The number of the disc this belongs to, within the set
-