public abstract class AbstractString extends AbstractDataType
frameBody, identifier, logger, size, TYPE_ELEMENT, value
Modifier | Constructor and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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 data type.
|
java.lang.String |
toString()
Return String representation of data type
|
createStructure, equals, getBody, getIdentifier, getValue, readByteArray, readByteArray, setBody, setValue, writeByteArray
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
- 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()
Copyright © 2005-2013 java.net. All Rights Reserved.