entagged.audioformats.ape
Class ApeTag

java.lang.Object
  extended by entagged.audioformats.generic.AbstractTag
      extended by entagged.audioformats.ape.ApeTag
All Implemented Interfaces:
Tag

public class ApeTag
extends AbstractTag


Field Summary
 
Fields inherited from class entagged.audioformats.generic.AbstractTag
commonNumber, fields
 
Fields inherited from interface entagged.audioformats.Tag
DEFAULT_GENRES
 
Constructor Summary
ApeTag()
           
 
Method Summary
protected  TagField createAlbumField(String content)
          Creates a field which represents the "album".
The field will already contain the given content.
protected  TagField createArtistField(String content)
          Creates a field which represents the "artist".
The field will already contain the given content.
protected  TagField createCommentField(String content)
          Creates a field which represents the "comment".
The field will already contain the given content.
protected  TagField createGenreField(String content)
          Creates a field which represents the "genre".
The field will already contain the given content.
protected  TagField createTitleField(String content)
          Creates a field which represents the "title".
The field will already contain the given content.
protected  TagField createTrackField(String content)
          Creates a field which represents the "track".
The field will already contain the given content.
protected  TagField createYearField(String content)
          Creates a field which represents the "year".
The field will already contain the given content.
protected  String getAlbumId()
          Returns the identifier for a field representing the "album"
protected  String getArtistId()
          Returns the identifier for a field representing the "artist"
protected  String getCommentId()
          Returns the identifier for a field representing the "comment"
protected  String getGenreId()
          Returns the identifier for a field representing the "genre"
protected  String getTitleId()
          Returns the identifier for a field representing the "title"
protected  String getTrackId()
          Returns the identifier for a field representing the "track"
protected  String getYearId()
          Returns the identifier for a field representing the "year"
protected  boolean isAllowedEncoding(String enc)
          Determines whether the given charset encoding may be used for the represented tagging system.
 String toString()
          (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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApeTag

public ApeTag()
Method Detail

getArtistId

protected String getArtistId()
Description copied from class: AbstractTag
Returns the identifier for a field representing the "artist"

Specified by:
getArtistId in class AbstractTag
Returns:
identifier for the "artist" field.
See Also:
TagField.getId()

getAlbumId

protected String getAlbumId()
Description copied from class: AbstractTag
Returns the identifier for a field representing the "album"

Specified by:
getAlbumId in class AbstractTag
Returns:
identifier for the "album" field.
See Also:
TagField.getId()

getTitleId

protected String getTitleId()
Description copied from class: AbstractTag
Returns the identifier for a field representing the "title"

Specified by:
getTitleId in class AbstractTag
Returns:
identifier for the "title" field.
See Also:
TagField.getId()

getTrackId

protected String getTrackId()
Description copied from class: AbstractTag
Returns the identifier for a field representing the "track"

Specified by:
getTrackId in class AbstractTag
Returns:
identifier for the "track" field.
See Also:
TagField.getId()

getYearId

protected String getYearId()
Description copied from class: AbstractTag
Returns the identifier for a field representing the "year"

Specified by:
getYearId in class AbstractTag
Returns:
identifier for the "year" field.
See Also:
TagField.getId()

getCommentId

protected String getCommentId()
Description copied from class: AbstractTag
Returns the identifier for a field representing the "comment"

Specified by:
getCommentId in class AbstractTag
Returns:
identifier for the "comment" field.
See Also:
TagField.getId()

getGenreId

protected String getGenreId()
Description copied from class: AbstractTag
Returns the identifier for a field representing the "genre"

Specified by:
getGenreId in class AbstractTag
Returns:
identifier for the "genre" field.
See Also:
TagField.getId()

createArtistField

protected TagField createArtistField(String content)
Description copied from class: AbstractTag
Creates a field which represents the "artist".
The field will already contain the given content.

Specified by:
createArtistField in class AbstractTag
Parameters:
content - The content of the created field.
Returns:
tagfield representing the "artist"

createAlbumField

protected TagField createAlbumField(String content)
Description copied from class: AbstractTag
Creates a field which represents the "album".
The field will already contain the given content.

Specified by:
createAlbumField in class AbstractTag
Parameters:
content - The content of the created field.
Returns:
tagfield representing the "album"

createTitleField

protected TagField createTitleField(String content)
Description copied from class: AbstractTag
Creates a field which represents the "title".
The field will already contain the given content.

Specified by:
createTitleField in class AbstractTag
Parameters:
content - The content of the created field.
Returns:
tagfield representing the "title"

createTrackField

protected TagField createTrackField(String content)
Description copied from class: AbstractTag
Creates a field which represents the "track".
The field will already contain the given content.

Specified by:
createTrackField in class AbstractTag
Parameters:
content - The content of the created field.
Returns:
tagfield representing the "track"

createYearField

protected TagField createYearField(String content)
Description copied from class: AbstractTag
Creates a field which represents the "year".
The field will already contain the given content.

Specified by:
createYearField in class AbstractTag
Parameters:
content - The content of the created field.
Returns:
tagfield representing the "year"

createCommentField

protected TagField createCommentField(String content)
Description copied from class: AbstractTag
Creates a field which represents the "comment".
The field will already contain the given content.

Specified by:
createCommentField in class AbstractTag
Parameters:
content - The content of the created field.
Returns:
tagfield representing the "comment"

createGenreField

protected TagField createGenreField(String content)
Description copied from class: AbstractTag
Creates a field which represents the "genre".
The field will already contain the given content.

Specified by:
createGenreField in class AbstractTag
Parameters:
content - The content of the created field.
Returns:
tagfield representing the "genre"

isAllowedEncoding

protected boolean isAllowedEncoding(String enc)
Description copied from class: AbstractTag
Determines whether the given charset encoding may be used for the represented tagging system.

Specified by:
isAllowedEncoding in class AbstractTag
Parameters:
enc - charset encoding.
Returns:
true if the given encoding can be used.

toString

public String toString()
Description copied from class: AbstractTag
(overridden)

Specified by:
toString in interface Tag
Overrides:
toString in class AbstractTag
See Also:
Object.toString()


Copyright © 2007-2008. All Rights Reserved.