public class APETag extends Object implements Comparator<APETagField>
| Constructor and Description |
|---|
APETag(File pIO) |
APETag(File pIO,
boolean bAnalyze) |
APETag(String pFilename) |
APETag(String pFilename,
boolean bAnalyze) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClearFields() |
int |
compare(APETagField pFieldA,
APETagField pFieldB) |
void |
CreateID3Tag(ID3Tag pID3Tag) |
int |
GetAPETagVersion() |
byte[] |
GetFieldBinary(String pFieldName) |
String |
GetFieldString(String pFieldName) |
APETagFooter |
getFooter() |
boolean |
GetHasAPETag() |
boolean |
GetHasID3Tag() |
int |
GetTagBytes() |
APETagField |
GetTagField(int nIndex) |
APETagField |
GetTagField(String pFieldName) |
void |
RemoveField(int nIndex) |
void |
RemoveField(String pFieldName) |
void |
SetFieldBinary(String pFieldName,
byte[] pFieldValue,
int nFieldFlags) |
void |
SetFieldString(String pFieldName,
String pFieldValue) |
void |
SetIgnoreReadOnly(boolean bIgnoreReadOnly) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic static final String APE_TAG_FIELD_TITLE
public static final String APE_TAG_FIELD_ARTIST
public static final String APE_TAG_FIELD_ALBUM
public static final String APE_TAG_FIELD_COMMENT
public static final String APE_TAG_FIELD_YEAR
public static final String APE_TAG_FIELD_TRACK
public static final String APE_TAG_FIELD_GENRE
public static final String APE_TAG_FIELD_COVER_ART_FRONT
public static final String APE_TAG_FIELD_NOTES
public static final String APE_TAG_FIELD_LYRICS
public static final String APE_TAG_FIELD_COPYRIGHT
public static final String APE_TAG_FIELD_BUY_URL
public static final String APE_TAG_FIELD_ARTIST_URL
public static final String APE_TAG_FIELD_PUBLISHER_URL
public static final String APE_TAG_FIELD_FILE_URL
public static final String APE_TAG_FIELD_COPYRIGHT_URL
public static final String APE_TAG_FIELD_MJ_METADATA
public static final String APE_TAG_FIELD_TOOL_NAME
public static final String APE_TAG_FIELD_TOOL_VERSION
public static final String APE_TAG_FIELD_PEAK_LEVEL
public static final String APE_TAG_FIELD_REPLAY_GAIN_RADIO
public static final String APE_TAG_FIELD_REPLAY_GAIN_ALBUM
public static final String APE_TAG_FIELD_COMPOSER
public static final String APE_TAG_FIELD_KEYWORDS
public static final int APE_TAG_FLAG_CONTAINS_HEADER
public static final int APE_TAG_FLAG_CONTAINS_FOOTER
public static final int APE_TAG_FLAG_IS_HEADER
public static final int APE_TAG_FLAGS_DEFAULT
public static final String APE_TAG_GENRE_UNDEFINED
public APETag(File pIO) throws IOException
IOExceptionpublic APETag(File pIO, boolean bAnalyze) throws IOException
IOExceptionpublic APETag(String pFilename) throws IOException
IOExceptionpublic APETag(String pFilename, boolean bAnalyze) throws IOException
IOExceptionpublic void SetFieldString(String pFieldName, String pFieldValue) throws IOException
IOExceptionpublic void SetFieldBinary(String pFieldName, byte[] pFieldValue, int nFieldFlags) throws IOException
IOExceptionpublic byte[] GetFieldBinary(String pFieldName) throws IOException
IOExceptionpublic String GetFieldString(String pFieldName) throws IOException
IOExceptionpublic void RemoveField(String pFieldName) throws IOException
IOExceptionpublic void RemoveField(int nIndex)
public void ClearFields()
public int GetTagBytes()
throws IOException
IOExceptionpublic boolean GetHasID3Tag()
throws IOException
IOExceptionpublic boolean GetHasAPETag()
throws IOException
IOExceptionpublic int GetAPETagVersion()
throws IOException
IOExceptionpublic APETagField GetTagField(String pFieldName) throws IOException
IOExceptionpublic APETagField GetTagField(int nIndex) throws IOException
IOExceptionpublic void SetIgnoreReadOnly(boolean bIgnoreReadOnly)
public void CreateID3Tag(ID3Tag pID3Tag) throws IOException
IOExceptionpublic int compare(APETagField pFieldA, APETagField pFieldB)
compare in interface Comparator<APETagField>public APETagFooter getFooter()
Copyright © 2014. All rights reserved.