    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class de.vdheide.mp3.TextFrameNoEncoding

    java.lang.Object
       |
       +----de.vdheide.mp3.TextFrame
               |
               +----de.vdheide.mp3.TextFrameNoEncoding

public class TextFrameNoEncoding
extends TextFrame

Used for text ID3v2 frames which does not support encoding. Supports get and set operations

##

TextFrameNoEncoding(ID3v2, String, TagContent, boolean)
  Creates a new TextFrameNoEncoding with a given content

##

read(ID3v2, String)
  Read content from ID3v2 tag.

##

TextFrameNoEncoding

     public TextFrameNoEncoding(ID3v2 id3v2,
                                String type,
                                TagContent content,
                                boolean use_compression) throws TagFormatException

  Creates a new TextFrameNoEncoding with a given content

  Parameters:
    id3v2 - ID3v2 tag
    type - Type of frame
    content - TagContent to write
    use_compression - Use compression?
  Throws: TagFormatException
    If text content field is null

##

read

     public static TagContent read(ID3v2 id3v2,
                                   String type) throws FrameDamagedException

  Read content from ID3v2 tag.

  Parameters:
    encoding - Use encoding?
    id3v2 - ID3v2 tag to read from
    type - Type of frame to read
  Throws: FrameDamagedException
    If frame is damaged (e.g. too short)

    All Packages  Class Hierarchy  This Package  Previous  Next  Index