|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dusbabek.lib.id3.BasicTagHeader
com.dusbabek.lib.id3.TagHeader_v2_2
com.dusbabek.lib.id3.TagHeader_v2_3
public class TagHeader_v2_3
ID3v2.3 header. They only get more complicated.
Field Summary |
---|
Fields inherited from class com.dusbabek.lib.id3.BasicTagHeader |
---|
BASIC_TAG_HEADER_LEN |
Constructor Summary | |
---|---|
TagHeader_v2_3()
constructs an empty header |
|
TagHeader_v2_3(byte[] data,
java.io.InputStream in)
construct a header from 10 bytes and an input stream. |
Method Summary | |
---|---|
long |
getDataSize()
returns the size of the data (not including ANY headers). |
protected ExtendedTagHeader |
makeExtendedHeader(java.io.InputStream in)
create an extended header. |
void |
setDataSize(long l)
set the size of the data. |
int |
sizeOf()
kind of moot. |
boolean |
usesExperimental()
|
boolean |
usesExtendedHeader()
|
void |
write(java.io.OutputStream out)
write this header to a stream. |
Methods inherited from class com.dusbabek.lib.id3.TagHeader_v2_2 |
---|
usesCompression, usesUnsynchronization |
Methods inherited from class com.dusbabek.lib.id3.BasicTagHeader |
---|
getFlags, getTagSize, getVersion, setTagSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TagHeader_v2_3() throws java.io.IOException
java.io.IOException
public TagHeader_v2_3(byte[] data, java.io.InputStream in) throws java.io.IOException
data
- byte[] a basic header.in
- InputStream
java.io.IOException
Method Detail |
---|
protected ExtendedTagHeader makeExtendedHeader(java.io.InputStream in) throws java.io.IOException
in
- InputStream
java.io.IOException
public boolean usesExtendedHeader()
public boolean usesExperimental()
public int sizeOf()
sizeOf
in interface TagHeader
sizeOf
in class BasicTagHeader
public long getDataSize()
getDataSize
in interface TagHeader
getDataSize
in class BasicTagHeader
public void setDataSize(long l)
setDataSize
in interface TagHeader
setDataSize
in class BasicTagHeader
l
- longpublic void write(java.io.OutputStream out) throws java.io.IOException
write
in interface TagHeader
write
in class BasicTagHeader
out
- OutputStream
java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |