org.jcodec.containers.mkv.ebml
Class StringElement

java.lang.Object
  extended by org.jcodec.containers.mkv.ebml.Element
      extended by org.jcodec.containers.mkv.ebml.BinaryElement
          extended by org.jcodec.containers.mkv.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

Field Summary
 
Fields inherited from class org.jcodec.containers.mkv.ebml.Element
data, dataOffset, dataRead, id, offset, parent, size, type
 
Constructor Summary
StringElement(byte[] typeID)
          Creates a new instance of StringElement
StringElement(byte[] typeID, String encoding)
           
 
Method Summary
 String get()
           
 String getEncoding()
           
 void set(String value)
           
 
Methods inherited from class org.jcodec.containers.mkv.ebml.BinaryElement
getData, setData
 
Methods inherited from class org.jcodec.containers.mkv.ebml.Element
ebmlBytes, ebmlBytes, getEbmlSize, getId, getSize, isSameEbmlId, isSameMatroskaType, mux, mux, readData, setParent, skipData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringElement

public StringElement(byte[] typeID)
Creates a new instance of StringElement


StringElement

public StringElement(byte[] typeID,
                     String encoding)
Method Detail

get

public String get()

set

public void set(String value)

getEncoding

public String getEncoding()


Copyright © 2013. All Rights Reserved.