net.sf.ext.mediamanager.ebml
Class StringElement
java.lang.Object
net.sf.ext.mediamanager.ebml.Element
net.sf.ext.mediamanager.ebml.BinaryElement
net.sf.ext.mediamanager.ebml.StringElement
- public class StringElement
- extends BinaryElement
Baisc class for handling an EBML string data type. This class encapsulates
both UTF and ASCII string types and can use any string type supported by
the Java platform.
- Author:
- John Cannon
Constructor Summary |
StringElement(byte[] typeID)
Creates a new instance of StringElement |
StringElement(byte[] typeID,
java.lang.String encoding)
|
Methods inherited from class net.sf.ext.mediamanager.ebml.BinaryElement |
codedSizeLength, getData, getMinByteSize, getMinByteSizeUnsigned, getMinSizeLength, getSize, getType, makeEbmlCode, makeEbmlCodedSize, packInt, packIntUnsigned, setData, setMinSizeLength, setSize, setType, toByteArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringElement
public StringElement(byte[] typeID)
- Creates a new instance of StringElement
StringElement
public StringElement(byte[] typeID,
java.lang.String encoding)
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String value)
getEncoding
public java.lang.String getEncoding()