public class ID3v1Handler extends java.lang.Object implements ID3Tags
ID3Tags.ID3Comment| Constructor and Description |
|---|
ID3v1Handler(java.io.InputStream stream,
org.xml.sax.ContentHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlbum() |
java.lang.String |
getAlbumArtist()
ID3v1 doesn't have album-wide artists,
so returns null;
|
java.lang.String |
getArtist()
The Artist for the track
|
java.util.List<ID3Tags.ID3Comment> |
getComments()
Retrieves the comments, if any.
|
java.lang.String |
getCompilation()
ID3v1 doesn't have compilations,
so returns null;
|
java.lang.String |
getComposer()
ID3v1 doesn't have composers,
so returns null;
|
java.lang.String |
getDisc()
ID3v1 doesn't have disc numbers,
so returns null;
|
java.lang.String |
getGenre() |
boolean |
getTagsPresent()
Does the file contain this kind of tags?
|
java.lang.String |
getTitle() |
java.lang.String |
getTrackNumber()
The number of the track within the album / recording
|
java.lang.String |
getYear() |
public ID3v1Handler(java.io.InputStream stream,
org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.xml.sax.SAXException,
TikaException
java.io.IOExceptionorg.xml.sax.SAXExceptionTikaExceptionpublic boolean getTagsPresent()
ID3TagsgetTagsPresent in interface ID3Tagspublic java.lang.String getArtist()
ID3Tagspublic java.util.List<ID3Tags.ID3Comment> getComments()
ID3TagsgetComments in interface ID3Tagspublic java.lang.String getTrackNumber()
ID3TagsgetTrackNumber in interface ID3Tagspublic java.lang.String getComposer()
getComposer in interface ID3Tagspublic java.lang.String getAlbumArtist()
getAlbumArtist in interface ID3Tagspublic java.lang.String getDisc()
public java.lang.String getCompilation()
getCompilation in interface ID3TagsCopyright © 2010 - 2023 Adobe. All Rights Reserved