|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object entagged.audioformats.generic.AbstractTag entagged.audioformats.generic.GenericTag
public class GenericTag
This is a complete impelementation of
AbstractTag
.
The identifiers of commonly used fields is defined by keys
.
Field Summary | |
---|---|
static int |
ALBUM
Index for the "album"-identifier in keys . |
static int |
ARTIST
Index for the "artist"-identifier in keys . |
static int |
COMMENT
Index for the "comment"-identifier in keys . |
static int |
GENRE
Index for the "genre"-identifier in keys . |
static int |
TITLE
Index for the "title"-identifier in keys . |
static int |
TRACK
Index for the "track"-identifier in keys . |
static int |
YEAR
Index for the "year"-identifier in keys . |
Fields inherited from class entagged.audioformats.generic.AbstractTag |
---|
commonNumber, fields |
Fields inherited from interface entagged.audioformats.Tag |
---|
DEFAULT_GENRES |
Constructor Summary | |
---|---|
GenericTag()
|
Method Summary | |
---|---|
protected TagField |
createAlbumField(String content)
(overridden) |
protected TagField |
createArtistField(String content)
(overridden) |
protected TagField |
createCommentField(String content)
(overridden) |
protected TagField |
createGenreField(String content)
(overridden) |
protected TagField |
createTitleField(String content)
(overridden) |
protected TagField |
createTrackField(String content)
(overridden) |
protected TagField |
createYearField(String content)
(overridden) |
protected String |
getAlbumId()
(overridden) |
protected String |
getArtistId()
(overridden) |
protected String |
getCommentId()
(overridden) |
protected String |
getGenreId()
(overridden) |
protected String |
getTitleId()
(overridden) |
protected String |
getTrackId()
(overridden) |
protected String |
getYearId()
(overridden) |
protected boolean |
isAllowedEncoding(String enc)
(overridden) |
Methods inherited from class entagged.audioformats.generic.AbstractTag |
---|
add, addAlbum, addArtist, addComment, addGenre, addTitle, addTrack, addYear, get, getAlbum, getArtist, getComment, getFields, getFirstAlbum, getFirstArtist, getFirstComment, getFirstGenre, getFirstTitle, getFirstTrack, getFirstYear, getGenre, getTitle, getTrack, getYear, hasCommonFields, hasField, isEmpty, merge, set, setAlbum, setArtist, setComment, setEncoding, setGenre, setTitle, setTrack, setYear, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ALBUM
keys
.
public static final int ARTIST
keys
.
public static final int COMMENT
keys
.
public static final int GENRE
keys
.
public static final int TITLE
keys
.
public static final int TRACK
keys
.
public static final int YEAR
keys
.
Constructor Detail |
---|
public GenericTag()
Method Detail |
---|
protected TagField createAlbumField(String content)
createAlbumField
in class AbstractTag
content
- The content of the created field.
AbstractTag.createAlbumField(java.lang.String)
protected TagField createArtistField(String content)
createArtistField
in class AbstractTag
content
- The content of the created field.
AbstractTag.createArtistField(java.lang.String)
protected TagField createCommentField(String content)
createCommentField
in class AbstractTag
content
- The content of the created field.
AbstractTag.createCommentField(java.lang.String)
protected TagField createGenreField(String content)
createGenreField
in class AbstractTag
content
- The content of the created field.
AbstractTag.createGenreField(java.lang.String)
protected TagField createTitleField(String content)
createTitleField
in class AbstractTag
content
- The content of the created field.
AbstractTag.createTitleField(java.lang.String)
protected TagField createTrackField(String content)
createTrackField
in class AbstractTag
content
- The content of the created field.
AbstractTag.createTrackField(java.lang.String)
protected TagField createYearField(String content)
createYearField
in class AbstractTag
content
- The content of the created field.
AbstractTag.createYearField(java.lang.String)
protected String getAlbumId()
getAlbumId
in class AbstractTag
AbstractTag.getAlbumId()
protected String getArtistId()
getArtistId
in class AbstractTag
AbstractTag.getArtistId()
protected String getCommentId()
getCommentId
in class AbstractTag
AbstractTag.getCommentId()
protected String getGenreId()
getGenreId
in class AbstractTag
AbstractTag.getGenreId()
protected String getTitleId()
getTitleId
in class AbstractTag
AbstractTag.getTitleId()
protected String getTrackId()
getTrackId
in class AbstractTag
AbstractTag.getTrackId()
protected String getYearId()
getYearId
in class AbstractTag
AbstractTag.getYearId()
protected boolean isAllowedEncoding(String enc)
isAllowedEncoding
in class AbstractTag
enc
- charset encoding.
true
if the given encoding can be used.AbstractTag.isAllowedEncoding(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |