Package org.apache.tika.parser.mp3
Class ID3v1Handler
java.lang.Object
org.apache.tika.parser.mp3.ID3v1Handler
- All Implemented Interfaces:
ID3Tags
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
This is used to parse ID3 Version 1 Tag information from an MP3 file,
if available.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tika.parser.mp3.ID3Tags
ID3Tags.ID3Comment -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlbum()Deprecated.Deprecated.ID3v1 doesn't have album-wide artists, so returns null;Deprecated.The Artist for the trackDeprecated.Retrieves the comments, if any.Deprecated.ID3v1 doesn't have compilations, so returns null;Deprecated.ID3v1 doesn't have composers, so returns null;getDisc()Deprecated.ID3v1 doesn't have disc numbers, so returns null;getGenre()Deprecated.booleanDeprecated.Does the file contain this kind of tags?getTitle()Deprecated.Deprecated.The number of the track within the album / recordinggetYear()Deprecated.
-
Constructor Details
-
ID3v1Handler
public ID3v1Handler(InputStream stream, ContentHandler handler) throws IOException, SAXException, TikaException Deprecated.- Throws:
IOExceptionSAXExceptionTikaException
-
-
Method Details
-
getTagsPresent
public boolean getTagsPresent()Deprecated.Description copied from interface:ID3TagsDoes the file contain this kind of tags?- Specified by:
getTagsPresentin interfaceID3Tags
-
getTitle
Deprecated. -
getArtist
Deprecated.Description copied from interface:ID3TagsThe Artist for the track -
getAlbum
Deprecated. -
getYear
Deprecated. -
getComments
Deprecated.Description copied from interface:ID3TagsRetrieves the comments, if any. Files may have more than one comment, but normally only one with any language/description pair.- Specified by:
getCommentsin interfaceID3Tags
-
getGenre
Deprecated. -
getTrackNumber
Deprecated.Description copied from interface:ID3TagsThe number of the track within the album / recording- Specified by:
getTrackNumberin interfaceID3Tags
-
getComposer
Deprecated.ID3v1 doesn't have composers, so returns null;- Specified by:
getComposerin interfaceID3Tags
-
getAlbumArtist
Deprecated.ID3v1 doesn't have album-wide artists, so returns null;- Specified by:
getAlbumArtistin interfaceID3Tags
-
getDisc
Deprecated.ID3v1 doesn't have disc numbers, so returns null; -
getCompilation
Deprecated.ID3v1 doesn't have compilations, so returns null;- Specified by:
getCompilationin interfaceID3Tags
-