public class ID3v22Handler extends Object implements ID3Tags
ID3Tags.ID3Comment
Constructor and Description |
---|
ID3v22Handler(ID3v2Frame frame) |
Modifier and Type | Method and Description |
---|---|
protected static String |
extractGenre(String rawGenre) |
String |
getAlbum() |
String |
getAlbumArtist()
The Artist for the overall album / compilation of albums
|
String |
getArtist()
The Artist for the track
|
List<ID3Tags.ID3Comment> |
getComments()
Retrieves the comments, if any.
|
String |
getCompilation()
ID3v22 doesn't have compilations,
so returns null;
|
String |
getComposer() |
String |
getDisc()
The number of the disc this belongs to, within the set
|
String |
getGenre() |
boolean |
getTagsPresent()
Does the file contain this kind of tags?
|
String |
getTitle() |
String |
getTrackNumber()
The number of the track within the album / recording
|
String |
getYear() |
public ID3v22Handler(ID3v2Frame frame) throws IOException, SAXException, TikaException
IOException
SAXException
TikaException
public boolean getTagsPresent()
ID3Tags
getTagsPresent
in interface ID3Tags
public String getArtist()
ID3Tags
public String getComposer()
getComposer
in interface ID3Tags
public List<ID3Tags.ID3Comment> getComments()
ID3Tags
getComments
in interface ID3Tags
public String getTrackNumber()
ID3Tags
getTrackNumber
in interface ID3Tags
public String getAlbumArtist()
ID3Tags
getAlbumArtist
in interface ID3Tags
public String getDisc()
ID3Tags
public String getCompilation()
getCompilation
in interface ID3Tags
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.