|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.opensmus.LValue
net.sf.opensmus.LString
public class LString
Class representing a Lingo compatible String value (LString for short). Lingo is a trademark of Adobe, Inc. All rights reserved.
Field Summary |
---|
Fields inherited from class net.sf.opensmus.LValue |
---|
valueType, vt_3dTransform, vt_3dVector, vt_Color, vt_Date, vt_Float, vt_Integer, vt_List, vt_Media, vt_Picture, vt_Point, vt_PropList, vt_Rect, vt_String, vt_Symbol, vt_Void |
Constructor Summary | |
---|---|
LString()
Constructor |
|
LString(java.lang.String initString)
Constructor |
|
LString(java.lang.String initString,
java.lang.String charsetName)
Constructs a LString from a java String using the named charset. |
Method Summary | |
---|---|
void |
dump()
Reserved for internal use of OpenSMUS. |
int |
extractFromBytes(byte[] rawBytes,
int offset)
Reserved for internal use of OpenSMUS. |
byte[] |
getBytes()
Reserved for internal use of OpenSMUS. |
java.lang.String |
toString()
Returns this LString as a Java String. |
java.lang.String |
toString(java.lang.String charsetName)
Returns this LString as a Java String using a specified charset. |
Methods inherited from class net.sf.opensmus.LValue |
---|
fromRawBytes, getLValue, getLValue, getLValue, getLValue, getLValue, getType, setType, toBytes, toDouble, toInteger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LString(java.lang.String initString)
public LString()
public LString(java.lang.String initString, java.lang.String charsetName) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
Method Detail |
---|
public int extractFromBytes(byte[] rawBytes, int offset)
extractFromBytes
in class LValue
public byte[] getBytes()
getBytes
in class LValue
public void dump()
dump
in class LValue
public java.lang.String toString()
toString
in class LValue
public java.lang.String toString(java.lang.String charsetName) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |