com.dusbabek.lib.id3
Class TextFrame

java.lang.Object
  extended by com.dusbabek.lib.id3.Frame
      extended by com.dusbabek.lib.id3.TextFrame

public class TextFrame
extends Frame

Specialized frame.


Constructor Summary
TextFrame(FrameHeader header, byte[] data)
          construct a text frame from raw data
TextFrame(java.lang.String id, java.lang.String value, int version)
          construct a text frame from values
 
Method Summary
 java.lang.String getValue()
           
 
Methods inherited from class com.dusbabek.lib.id3.Frame
getData, getHeader, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFrame

public TextFrame(java.lang.String id,
                 java.lang.String value,
                 int version)
          throws java.io.IOException
construct a text frame from values

Parameters:
id - String
value - String
version - int
Throws:
java.io.IOException

TextFrame

public TextFrame(FrameHeader header,
                 byte[] data)
          throws java.io.IOException
construct a text frame from raw data

Parameters:
header - FrameHeader
data - byte[]
Throws:
java.io.IOException
Method Detail

getValue

public java.lang.String getValue()
Returns:
text value (minus null padding)


Copyright © 2004, 2005 Gary Dusbabek. All Rights Reserved.