|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlpi.common.LongStrings
Supports serialization for strings, including those which exceed 64Kbytes in length when UTF-8 encoded. The class is required because pre-JDK1.3 VMs throw a UTFDataFormatException when attempting to serialize long strings.
Method Summary | |
static java.lang.String |
decode(java.lang.Object o)
Decode a previously encoded string. |
static java.lang.Object |
encode(java.lang.String s)
Encode a string so that it can be serialized. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static java.lang.String decode(java.lang.Object o)
encode(java.lang.String)
: the object o
must therefore be null
, a String[]
, or a
String
. If a String[]
, the method
reconstitutes the original string by concatenating the elements of the
array.
encode(java.lang.String)
public static java.lang.Object encode(java.lang.String s)
s
unchanged. Otherwise,
the method converts the string into a string array, each element of
which will occcupy 64KBytes or less when UTF-8 encoded.
decode(java.lang.Object)
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |