|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jaudiotagger.tag.datatype.AbstractDataType org.jaudiotagger.tag.datatype.AbstractString
public abstract class AbstractString
A partial implementation for String based ID3 fields
Field Summary |
---|
Fields inherited from class org.jaudiotagger.tag.datatype.AbstractDataType |
---|
frameBody, identifier, logger, size, TYPE_ELEMENT, value |
Constructor Summary | |
---|---|
protected |
AbstractString(AbstractString object)
Copy constructor |
protected |
AbstractString(java.lang.String identifier,
AbstractTagFrameBody frameBody)
Creates a new datatype |
|
AbstractString(java.lang.String identifier,
AbstractTagFrameBody frameBody,
java.lang.String value)
Creates a new datatype, with value |
Method Summary | |
---|---|
boolean |
canBeEncoded()
Check the value can be encoded with the specified encoding |
int |
getSize()
Return the size in bytes of this datatype as it was/is held in file this will be effected by the encoding type. |
protected void |
setSize(int size)
Sets the size in bytes of this datatype. |
java.lang.String |
toString()
Return String representation of datatype |
Methods inherited from class org.jaudiotagger.tag.datatype.AbstractDataType |
---|
createStructure, equals, getBody, getIdentifier, getValue, readByteArray, readByteArray, setBody, setValue, writeByteArray |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected AbstractString(java.lang.String identifier, AbstractTagFrameBody frameBody)
identifier
- frameBody
- public AbstractString(java.lang.String identifier, AbstractTagFrameBody frameBody, java.lang.String value)
identifier
- frameBody
- value
- protected AbstractString(AbstractString object)
object
- Method Detail |
---|
public int getSize()
getSize
in class AbstractDataType
protected void setSize(int size)
size
- public java.lang.String toString()
toString
in class java.lang.Object
public boolean canBeEncoded()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |