|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
org.blinkenlights.jid3.io.ID3DataInputStream
Field Summary |
Fields inherited from class java.io.FilterInputStream |
in |
Constructor Summary | |
ID3DataInputStream(java.io.InputStream oIS)
|
Method Summary | |
int |
readBE24()
Read an unsigned big-endian 24-bit value and returns an int. |
int |
readBE32()
Read a signed big-endian 32-bit value and returns an int. |
int |
readBEUnsigned16()
Reads an unsigned big-endian 16-bit value and returns an int. |
int |
readID3Four()
Read an encoded four byte value. |
java.lang.String |
readStringToNull()
Read an ISO-8859-1 encoded string to null. |
java.lang.String |
readStringToNull(int iMaxLength)
Read an ISO-8859-1 string to null, not exceeding a predefined length. |
java.lang.String |
readStringToNull(TextEncoding oTextEncoding)
Read a string in the specified encoding format to null. |
java.lang.String |
readStringToNull(TextEncoding oTextEncoding,
int iMaxLength)
Read a string in the specified encoding format to null, not exceeding a predefined length. |
long |
readUnsignedBE32()
Read an unsigned big-endian 32-bit value and returns a long. |
Methods inherited from class java.io.DataInputStream |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes |
Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ID3DataInputStream(java.io.InputStream oIS)
Method Detail |
public final int readBEUnsigned16() throws java.io.IOException
java.io.IOException
public int readBE24() throws java.io.IOException
java.io.IOException
public int readBE32() throws java.io.IOException
java.io.IOException
public long readUnsignedBE32() throws java.io.IOException
java.io.IOException
public int readID3Four() throws java.io.IOException, ID3Exception
java.io.IOException
ID3Exception
public java.lang.String readStringToNull() throws java.io.IOException
java.io.IOException
public java.lang.String readStringToNull(int iMaxLength) throws java.io.IOException
iMaxLength
- a length beyond which not to read further
java.io.IOException
- on I/O error, or if string would exceed allowed lengthpublic java.lang.String readStringToNull(TextEncoding oTextEncoding) throws java.io.IOException
oTextEncoding
- the encoding format of the string to be read
java.io.IOException
public java.lang.String readStringToNull(TextEncoding oTextEncoding, int iMaxLength) throws java.io.IOException
oTextEncoding
- the encoding format of the string to be readiMaxLength
- a length beyond which not to read further (in characters, not necessarily bytes)
java.io.IOException
- on I/O error, or if string would exceed allowed length
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |