public class ID3Frames
extends Object
| Modifier and Type | Field | Description |
|---|---|---|
static int |
ID3FOOTER_SIZE |
|
static int |
ID3HEADER_SIZE |
|
static int |
ID3HEADER_VERSION |
|
static int |
ID3HEADERFLAGS_DEFAULT |
|
static int |
ID3HEADERFLAGS_EXPERIMENTAL |
|
static int |
ID3HEADERFLAGS_EXTENDED |
|
static int |
ID3HEADERFLAGS_FOOTERPRESENT |
|
static int |
ID3HEADERFLAGS_UNSYNC |
|
static byte[] |
STARTCODE_3DI |
|
static byte[] |
STARTCODE_ID3 |
| Constructor | Description |
|---|---|
ID3Frames() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
clear() |
|
static ID3DeserializeFramesResult |
deserialize(byte[] buffer,
int offset,
int len) |
|
static int |
deserializeGetSize(byte[] buffer,
int offset,
int len) |
|
java.util.List<String> |
getFrameMapIds() |
|
java.util.List<IID3V2Frame> |
getFrames() |
|
java.util.List<IID3V2Frame> |
getFramesById(String idStr) |
|
Object |
getLock() |
|
int |
getSize() |
|
boolean |
isEmpty() |
|
static boolean |
isID3Footer(byte[] buffer,
int offset,
int len) |
|
static boolean |
isID3Header(byte[] buffer,
int offset,
int len) |
|
void |
putFrame(IID3V2Frame frame) |
|
IID3V2Frame |
removeFrame(IID3V2Frame frame) |
|
byte[] |
serialize() |
|
byte[] |
serialize(boolean includeHeader,
boolean includeFooter,
int flags) |
|
static int |
serializeFooter(byte[] buffer,
int offset,
int flags,
int size) |
|
static int |
serializeHeader(byte[] buffer,
int offset,
int flags,
int size) |
|
int |
serializeTags(byte[] buffer,
int offset) |
public static final int ID3FOOTER_SIZE
public static final int ID3HEADER_SIZE
public static final int ID3HEADER_VERSION
public static final int ID3HEADERFLAGS_DEFAULT
public static final int ID3HEADERFLAGS_EXPERIMENTAL
public static final int ID3HEADERFLAGS_EXTENDED
public static final int ID3HEADERFLAGS_FOOTERPRESENT
public static final int ID3HEADERFLAGS_UNSYNC
public static final byte[] STARTCODE_3DI
public static final byte[] STARTCODE_ID3
public void clear()
public static ID3DeserializeFramesResult deserialize(byte[] buffer, int offset, int len)
public static int deserializeGetSize(byte[] buffer,
int offset,
int len)
public java.util.List<String> getFrameMapIds()
public java.util.List<IID3V2Frame> getFrames()
public java.util.List<IID3V2Frame> getFramesById(String idStr)
public Object getLock()
public int getSize()
public boolean isEmpty()
public static boolean isID3Footer(byte[] buffer,
int offset,
int len)
public static boolean isID3Header(byte[] buffer,
int offset,
int len)
public void putFrame(IID3V2Frame frame)
public IID3V2Frame removeFrame(IID3V2Frame frame)
public byte[] serialize()
public byte[] serialize(boolean includeHeader,
boolean includeFooter,
int flags)
public static int serializeFooter(byte[] buffer,
int offset,
int flags,
int size)
public static int serializeHeader(byte[] buffer,
int offset,
int flags,
int size)
public int serializeTags(byte[] buffer,
int offset)