|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xml.sax.helpers.XMLFilterImpl | +--org.esau.ptarmigan.impl.filter.BaseFilter | +--org.esau.ptarmigan.impl.filter.BinaryFilter | +--org.esau.ptarmigan.impl.filter.ID3v1Filter
Extract metadata from an ID3v1 tag
It's a 128-byte block at the end of a file.
May appear on MP3, Ogg, Flac, and other files.
Note that it is unsupported with streams, at least for now. This is because of the overhead required in scanning to the end of the file.
Constructor Summary | |
ID3v1Filter()
|
Method Summary | |
void |
doParse()
SAX-Invoked parse of a 'document' from an input stream. |
Methods inherited from class org.esau.ptarmigan.impl.filter.BinaryFilter |
counter, fastForward, read, read, read, readCharBE, readCharLE, readInt16BE, readInt16LE, readInt24BE, readInt24LE, readInt32BE, readInt32LE, remaining, rewind, setCounterLimit, skip |
Methods inherited from class org.esau.ptarmigan.impl.filter.BaseFilter |
characters, getMediaProperties, parse, setMediaProperties |
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ID3v1Filter() throws org.xml.sax.SAXException
Method Detail |
public void doParse() throws org.xml.sax.SAXException, java.io.IOException, java.text.ParseException
Note that the caller must already have called this.getByteStream() to obtain the raw data for the tag.
This module creates the document from the parsed ID3V1 metadata.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |