quicktime.vr
Class QTVRString

java.lang.Object
  |
  +--quicktime.QTObject
        |
        +--quicktime.util.QTPointerRef
              |
              +--quicktime.vr.QTVRString
All Implemented Interfaces:
InterfaceLib, PrimitivesLib, QuickTimeLib, com.apple.jdirect.SharedLibrary, SharedLibrary

public final class QTVRString
extends QTPointerRef


Field Summary
 
Fields inherited from interface quicktime.jdirect.QuickTimeLib
JDirect_MacOSX, libraryInstance, name
 
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
 
Method Summary
 java.lang.String getString()
          returns the string
 short getStringLength()
          returns the string Length
 short getStringUsage()
          returns the string Usage
 void setStringUsage(short stringUsage)
          sets the string Usage
 java.lang.String toString()
          Returns a string representation of the class
 
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 quicktime.QTObject
disposeQTObject, equals, ID
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
QTException
Method Detail

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