|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--com.ericsson.otp.erlang.OtpErlangObject
|
+--com.ericsson.otp.erlang.OtpErlangString
Provides a Java representation of Erlang strings.
| Constructor Summary | |
OtpErlangString(OtpInputStream buf)
Create an Erlang string from a stream containing a string encoded in Erlang external format. |
|
OtpErlangString(java.lang.String str)
Create an Erlang string from the given string. |
|
| Method Summary | |
void |
encode(OtpOutputStream buf)
Convert this string to the equivalent Erlang external representation. |
boolean |
equals(java.lang.Object o)
Determine if two strings are equal. |
boolean |
equals(OtpErlangString s)
Determine if two strings are equal. |
boolean |
equals(java.lang.String s)
Determine if two strings are equal. |
java.lang.String |
stringValue()
Get the actual string contained in this object. |
java.lang.String |
toString()
Get the printable version of the string contained in this object. |
| Methods inherited from class com.ericsson.otp.erlang.OtpErlangObject |
decode |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public OtpErlangString(java.lang.String str)
public OtpErlangString(OtpInputStream buf)
throws OtpErlangDecodeException
buf - the stream containing the encoded string.| Method Detail |
public java.lang.String stringValue()
toString()public java.lang.String toString()
stringValue()public void encode(OtpOutputStream buf)
buf - an output stream to which the encoded string should be
written.public boolean equals(java.lang.Object o)
o - the object to compare to.public boolean equals(java.lang.String s)
s - the String to compare to.public boolean equals(OtpErlangString s)
s - the string to compare to.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||