|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.vdheide.mp3.TextFrame
Used for text ID3v2 frames. Supports get and set operations
Constructor Summary | |
TextFrame(boolean encoding,
ID3v2 id3v2,
java.lang.String type,
TagContent content,
boolean use_compression)
Creates a new TextFrame with a given content |
Method Summary | |
static TagContent |
read(boolean encoding,
ID3v2 id3v2,
java.lang.String type)
Read content from ID3v2 tag. |
void |
write()
Write frame to ID3v2 tag |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextFrame(boolean encoding, ID3v2 id3v2, java.lang.String type, TagContent content, boolean use_compression) throws TagFormatException
encoding
- Use encoding?id3v2
- ID3v2 tagtype
- Type of framecontent
- TagContent to writeuse_compression
- Use compression?
TagFormatException
- If text content field is nullMethod Detail |
public void write()
public static TagContent read(boolean encoding, ID3v2 id3v2, java.lang.String type) throws FrameDamagedException
encoding
- Use encoding?id3v2
- ID3v2 tag to read fromtype
- Type of frame to read
FrameDamagedException
- If frame is damaged (e.g. too short)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |