|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tffenterprises.music.tag.id3v2.Parser
public abstract class Parser
ID3v2Parser is an abstract class that features static methods whose function is to test the parsing of an ID3v2. Usage: ID3v2Parser.Parse(InputStream in);
Field Summary | |
---|---|
private static int |
HEADERLENGTH
The byte length of an ID3v2 header. |
static java.lang.String |
PREFIX
The prefix to an ID3v2 tag. |
Constructor Summary | |
---|---|
Parser()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
Static entry point to the parser for command-line operation. |
static void |
ParseBytes(byte[] array)
Parse a byte array, and print out the results to the standard output. |
static void |
ParseStream(java.io.InputStream in)
Parse an input stream, and print out the results to the standard output. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PREFIX
private static final int HEADERLENGTH
Constructor Detail |
---|
public Parser()
Method Detail |
---|
public static void ParseBytes(byte[] array) throws java.io.IOException
array
- the array from which to parse an ID3v2 tag.
java.io.IOException
- when an I/O error occurs.public static void ParseStream(java.io.InputStream in) throws java.io.IOException
in
- the InputStream from whith to parse an ID3v2 tag.
java.io.IOException
- when an I/O error occurs.public static void main(java.lang.String[] argv) throws java.io.IOException
argv
- the command-line arguments to the parser.
java.io.IOException
- if an I/O error occurs during parsing.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |