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.IOException
org.xml.sax.SAXException
TikaException
public boolean getTagsPresent()
ID3Tags
getTagsPresent
in interface ID3Tags
public java.lang.String getArtist()
ID3Tags
public java.util.List<ID3Tags.ID3Comment> getComments()
ID3Tags
getComments
in interface ID3Tags
public java.lang.String getTrackNumber()
ID3Tags
getTrackNumber
in interface ID3Tags
public java.lang.String getComposer()
getComposer
in interface ID3Tags
public java.lang.String getAlbumArtist()
getAlbumArtist
in interface ID3Tags
public java.lang.String getDisc()
public java.lang.String getCompilation()
getCompilation
in interface ID3Tags
Copyright © 2010 - 2020 Adobe. All Rights Reserved