final class ID3MetadataParser extends MetadataParserImpl
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CHARSET_ISO_8859_1 |
private static java.lang.String |
CHARSET_UTF_16 |
private static java.lang.String |
CHARSET_UTF_16BE |
private static java.lang.String |
CHARSET_UTF_8 |
private int |
COMMCount |
private static int |
ID3_VERSION_MAX |
private static int |
ID3_VERSION_MIN |
private int |
TXXXCount |
private boolean |
unsynchronized |
private int |
version |
rawMetaBlob
ALBUM_TAG_NAME, ALBUMARTIST_TAG_NAME, ARTIST_TAG_NAME, AUDIOCODEC_TAG_NAME, COMMENT_TAG_NAME, COMPOSER_TAG_NAME, CREATIONDATE_TAG_NAME, DISCCOUNT_TAG_NAME, DISCNUMBER_TAG_NAME, DURATION_TAG_NAME, FRAMERATE_TAG_NAME, GENRE_TAG_NAME, HEIGHT_TAG_NAME, IMAGE_TAG_NAME, RAW_FLV_METADATA_NAME, RAW_ID3_METADATA_NAME, RAW_METADATA_TAG_NAME, TEXT_TAG_NAME, TITLE_TAG_NAME, TRACKCOUNT_TAG_NAME, TRACKNUMBER_TAG_NAME, VIDEOCODEC_TAG_NAME, WIDTH_TAG_NAME, YEAR_TAG_NAME
Constructor and Description |
---|
ID3MetadataParser(Locator locator) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
getEncoding() |
private int |
getFrameSize() |
private byte[] |
getImageFromAPIC(byte[] data) |
private byte[] |
getImageFromPIC(byte[] data) |
private java.lang.String[] |
getTagFromFrameID(java.lang.String frameID) |
private boolean |
isTwoByteEncoding(java.lang.String encoding) |
protected void |
parse() |
private byte[] |
unsynchronizeBuffer(byte[] data) |
addListener, addMetadataItem, addRawMetadata, convertValue, disposeRawMetadata, done, getBytes, getDouble, getInteger, getLong, getNextByte, getShort, getStreamPosition, getString, getU24, readRawMetadata, removeListener, run, setParseRawMetadata, skipBytes, startParser, startRawMetadata, stopParser, stuffRawMetadata
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private static final int ID3_VERSION_MIN
private static final int ID3_VERSION_MAX
private static final java.lang.String CHARSET_UTF_8
private static final java.lang.String CHARSET_ISO_8859_1
private static final java.lang.String CHARSET_UTF_16
private static final java.lang.String CHARSET_UTF_16BE
private int COMMCount
private int TXXXCount
private int version
private boolean unsynchronized
public ID3MetadataParser(Locator locator)
protected void parse()
parse
in class MetadataParserImpl
private int getFrameSize() throws java.io.IOException
java.io.IOException
private java.lang.String getEncoding() throws java.io.IOException
java.io.IOException
private boolean isTwoByteEncoding(java.lang.String encoding)
private java.lang.String[] getTagFromFrameID(java.lang.String frameID)
private byte[] getImageFromPIC(byte[] data)
private byte[] getImageFromAPIC(byte[] data)
private byte[] unsynchronizeBuffer(byte[] data)