|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dusbabek.lib.id3.FrameHeader_v2_2
public class FrameHeader_v2_2
Frame header for ID3v2.2. Nice and simple...
Field Summary | |
---|---|
static int |
FRAME_HEADER_LEN
basic header size is always 6 bytes. |
Constructor Summary | |
---|---|
FrameHeader_v2_2(byte[] data)
construct a header from raw data |
|
FrameHeader_v2_2(java.lang.String id)
construct an empty header using a specified frame id. |
Method Summary | |
---|---|
boolean |
compressed()
|
java.lang.String |
getId()
|
int |
getSize()
|
long |
getUncompressedSize()
|
void |
setFrameSize(int size)
set the frame data size |
int |
sizeOf()
|
void |
write(java.io.OutputStream out)
write header to a stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FRAME_HEADER_LEN
Constructor Detail |
---|
public FrameHeader_v2_2(java.lang.String id) throws java.io.IOException
java.io.IOException
public FrameHeader_v2_2(byte[] data) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void setFrameSize(int size)
setFrameSize
in interface FrameHeader
public int getSize()
getSize
in interface FrameHeader
public java.lang.String getId()
getId
in interface FrameHeader
public int sizeOf()
sizeOf
in interface FrameHeader
public void write(java.io.OutputStream out) throws java.io.IOException
write
in interface FrameHeader
java.io.IOException
public boolean compressed()
compressed
in interface FrameHeader
public long getUncompressedSize()
getUncompressedSize
in interface FrameHeader
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |