org.farng.mp3.object
Class AbstractMP3Object
java.lang.Object
org.farng.mp3.object.AbstractMP3Object
- Direct Known Subclasses:
- ObjectBooleanByte, ObjectBooleanString, ObjectByteArraySizeTerminated, ObjectGroupRepeated, ObjectID3v2LyricLine, ObjectLyrics3Image, ObjectLyrics3Line, ObjectLyrics3TimeStamp, ObjectNumberFixedLength, ObjectNumberVariableLength, ObjectStringFixedLength, ObjectStringNullTerminated, ObjectStringSizeTerminated
- public abstract class AbstractMP3Object
- extends java.lang.Object
ID3v2 and Lyrics3v2 tags have individual fields AbstractMP3Fragment
s Then each fragment is broken down
in to individual AbstractMP3Object
s
- Version:
- $Revision: 1.4 $
- Author:
- Eric Farng
Field Summary |
protected java.lang.String |
identifier
|
protected java.lang.Object |
value
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
protected java.lang.Object value
identifier
protected java.lang.String identifier
AbstractMP3Object
public AbstractMP3Object()
- Creates a new AbstractMP3Object object.
AbstractMP3Object
public AbstractMP3Object(AbstractMP3Object copyObject)
- Creates a new AbstractMP3Object object.
getIdentifier
public java.lang.String getIdentifier()
setValue
public void setValue(java.lang.Object value)
getValue
public java.lang.Object getValue()
readByteArray
public final void readByteArray(byte[] arr)
readString
public final void readString(java.lang.String str)
getSize
public abstract int getSize()
readByteArray
public void readByteArray(byte[] arr,
int offset)
readString
public void readString(java.lang.String str,
int offset)
toString
public abstract java.lang.String toString()
equals
public boolean equals(java.lang.Object obj)
writeByteArray
public byte[] writeByteArray()
writeString
public java.lang.String writeString()
Copyright (c) 2004 Eric Farng