|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.kano.joscar.EncodedStringInfo
A simple structure containing a block of data and the name of the charset that was used to encode that block of data from a text string.
Constructor Summary | |
EncodedStringInfo(java.lang.String charset,
byte[] data)
Creates a new EncodedStringInfo with the given properties. |
Method Summary | |
java.lang.String |
getCharset()
Returns the name of the charset that encoded the associated data from a String . |
byte[] |
getData()
The data block encoded from a String by the associated
charset. |
ImEncodingParams |
getImEncoding()
Returns an ImEncoding object that describes the charset
used to encode the associated string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EncodedStringInfo(java.lang.String charset, byte[] data)
EncodedStringInfo
with the given properties.
charset
- the character set used to encode the given datadata
- the data encoded by the given character setMethod Detail |
public final java.lang.String getCharset()
String
.
public final ImEncodingParams getImEncoding()
ImEncoding
object that describes the charset
used to encode the associated string.
ImEncoding
describing the charset that encoded
the string associated with this EncodedStringInfo
ImEncodedString
public final byte[] getData()
String
by the associated
charset.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |