de.vdheide.mp3
Class TextFrameNoEncoding
java.lang.Object
de.vdheide.mp3.TextFrame
de.vdheide.mp3.TextFrameNoEncoding
- public class TextFrameNoEncoding
- extends TextFrame
Used for text ID3v2 frames which do not support encoding. Supports get and
set operations
Constructor Summary |
TextFrameNoEncoding(ID3v2 id3v2,
java.lang.String type,
TagContent content,
boolean use_compression)
Creates a new TextFrameNoEncoding with a given content |
Method Summary |
static TagContent |
read(ID3v2 id3v2,
java.lang.String type)
Read content from ID3v2 tag. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextFrameNoEncoding
public TextFrameNoEncoding(ID3v2 id3v2,
java.lang.String type,
TagContent content,
boolean use_compression)
throws TagFormatException
- Creates a new TextFrameNoEncoding with a given content
- Parameters:
id3v2
- ID3v2 tagtype
- Type of framecontent
- TagContent to writeuse_compression
- Use compression?
- Throws:
TagFormatException
- If text content field is null
read
public static TagContent read(ID3v2 id3v2,
java.lang.String type)
throws FrameDamagedException
- Read content from ID3v2 tag.
- Parameters:
id3v2
- ID3v2 tag to read fromtype
- Type of frame to read
- Returns:
- content of tag
- Throws:
FrameDamagedException
- If frame is damaged (e.g. too short)