quicktime.vr
Class QTVRString
java.lang.Object
|
+--quicktime.QTObject
|
+--quicktime.util.QTPointerRef
|
+--quicktime.vr.QTVRString
- All Implemented Interfaces:
- InterfaceLib, PrimitivesLib, QuickTimeLib, SharedLibrary, com.apple.jdirect.SharedLibrary
- public final class QTVRString
- extends QTPointerRef
Constructor Summary |
QTVRString(byte[] bytes)
Creates a QTVRString object from a byte array |
QTVRString(java.lang.String string)
Creates a QTVRString object from a String |
Methods inherited from class quicktime.util.QTPointerRef |
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, getBytes, getSize |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
QTVRString
public QTVRString(java.lang.String string)
throws QTException
- Creates a QTVRString object from a String
QTVRString
public QTVRString(byte[] bytes)
throws QTException
- Creates a QTVRString object from a byte array
- Throws:
if
- the byte array does not conform to valid QTVRString data
getStringUsage
public short getStringUsage()
- returns the string Usage
setStringUsage
public void setStringUsage(short stringUsage)
- sets the string Usage
getStringLength
public short getStringLength()
- returns the string Length
getString
public java.lang.String getString()
- returns the string
toString
public java.lang.String toString()
- Returns a string representation of the class
- Overrides:
toString
in class QTPointerRef