com.daylight
Class DayString

java.lang.Object
  extended by com.daylight.DaylightCppObject
      extended by com.daylight.DaylightObject
          extended by com.daylight.DayString

public class DayString
extends DaylightObject

Object representing a Daylight string


Field Summary
 
Fields inherited from class com.daylight.DaylightCppObject
ref
 
Constructor Summary
DayString()
          from dt_alloc_string.
DayString(java.lang.String initialValue)
          from dt_alloc_string.
 
Method Summary
 void appendValue(java.lang.String value)
          from dt_appendstringvalue.
static DayString asciiToBinary(java.lang.String asciiString)
          from dt_stringvalue.
static DayString binaryToAscii(java.lang.String binaryString)
          from dt_binary2ascii.
 DayString copy()
          from dt_copy.
protected  void finalize()
          Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
 java.lang.String getValue()
          from dt_stringvalue.
 void setValue(java.lang.String value)
          from dt_setstringvalue.
 
Methods inherited from class com.daylight.DaylightObject
appendStringProperty, checkProgramLicense, checkToolkitLicense, clearErrors, disableVirtualHandles, equals, getAdjunct, getAncestor, getBase, getBooleanProperty, getChiralClass, getChiralOrder, getCount, getErrors, getExistingObjectCount, getHandleProperty, getIntegerProperty, getParent, getPropertyNames, getPropertyType, getRealProperty, getRuntimeLibraryCreationDate, getRuntimeLibraryVersion, getStream, getStringProperty, getType, getTypename, getUniqueId, getUniqueIdRange, getWorstErrorType, hashCode, isNullObject, mpInitialize, mpLock, mpTrylock, mpUnlock, saveError, setAdjunct, setBooleanProperty, setHandleProperty, setIntegerProperty, setRealProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DayString

public DayString()
          throws DaylightException
from dt_alloc_string.

Throws:
DaylightException

DayString

public DayString(java.lang.String initialValue)
          throws DaylightException
from dt_alloc_string.

Throws:
DaylightException
Method Detail

copy

public DayString copy()
               throws DaylightException
from dt_copy.

Throws:
DaylightException

appendValue

public void appendValue(java.lang.String value)
                 throws DaylightException
from dt_appendstringvalue.

Throws:
DaylightException

getValue

public java.lang.String getValue()
                          throws DaylightException
from dt_stringvalue.

Throws:
DaylightException

setValue

public void setValue(java.lang.String value)
              throws DaylightException
from dt_setstringvalue.

Throws:
DaylightException

asciiToBinary

public static DayString asciiToBinary(java.lang.String asciiString)
                               throws DaylightException
from dt_stringvalue. returns a pointer to the binary value of the DayString, with its length returned in len. Meant to be used with a DayString obtained from asciiToBinary. Caller owns returned memory.

Throws:
DaylightException

binaryToAscii

public static DayString binaryToAscii(java.lang.String binaryString)
                               throws DaylightException
from dt_binary2ascii.

Throws:
DaylightException

finalize

protected void finalize()
                 throws java.lang.Throwable
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

Overrides:
finalize in class DaylightObject
Throws:
java.lang.Throwable