org.farng.mp3.object
Class ObjectNumberVariableLength

java.lang.Object
  extended byorg.farng.mp3.object.AbstractMP3Object
      extended byorg.farng.mp3.object.ObjectNumberVariableLength

public class ObjectNumberVariableLength
extends AbstractMP3Object

ID3v2 and Lyrics3v2 tags have individual fields AbstractMP3Fragments Then each fragment is broken down in to individual AbstractMP3Objects

Version:
$Revision: 1.5 $
Author:
Eric Farng

Field Summary
 
Fields inherited from class org.farng.mp3.object.AbstractMP3Object
identifier, value
 
Constructor Summary
ObjectNumberVariableLength(ObjectNumberVariableLength copyObject)
          Creates a new ObjectNumberVariableLength object.
ObjectNumberVariableLength(java.lang.String identifier, int minimumSize)
          Creates a new ObjectNumberVariableLength object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getMaximumLenth()
           
 int getMinimumLength()
           
 int getSize()
           
 void readByteArray(byte[] arr, int offset)
           
 void readString(java.lang.String str, int offset)
           
 void setMinimumSize(int minimumSize)
           
 java.lang.String toString()
           
 byte[] writeByteArray()
           
 java.lang.String writeString()
           
 
Methods inherited from class org.farng.mp3.object.AbstractMP3Object
getIdentifier, getValue, readByteArray, readString, setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectNumberVariableLength

public ObjectNumberVariableLength(java.lang.String identifier,
                                  int minimumSize)
Creates a new ObjectNumberVariableLength object.


ObjectNumberVariableLength

public ObjectNumberVariableLength(ObjectNumberVariableLength copyObject)
Creates a new ObjectNumberVariableLength object.

Method Detail

getMaximumLenth

public int getMaximumLenth()

getMinimumLength

public int getMinimumLength()

setMinimumSize

public void setMinimumSize(int minimumSize)

getSize

public int getSize()
Specified by:
getSize in class AbstractMP3Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class AbstractMP3Object

readByteArray

public void readByteArray(byte[] arr,
                          int offset)
Overrides:
readByteArray in class AbstractMP3Object

readString

public void readString(java.lang.String str,
                       int offset)
Overrides:
readString in class AbstractMP3Object

toString

public java.lang.String toString()
Specified by:
toString in class AbstractMP3Object

writeByteArray

public byte[] writeByteArray()
Overrides:
writeByteArray in class AbstractMP3Object

writeString

public java.lang.String writeString()
Overrides:
writeString in class AbstractMP3Object


Copyright (c) 2004 Eric Farng