public class TMobileNlGSMCharset extends GSMCharset
CHAR_TABLE, EXT_CHAR_TABLE, EXTENDED_ESCAPE, PAGE_BREAK| Constructor and Description |
|---|
TMobileNlGSMCharset() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canRepresent(CharSequence str0)
Verifies that this charset can represent every character in the Java
String (char sequence).
|
void |
decode(byte[] bytes,
StringBuilder buffer)
Decode an SMS default alphabet-encoded octet string into a Java String.
|
byte[] |
encode(CharSequence str0)
Encode the Java string into a byte array.
|
estimateDecodeCharLength, estimateEncodeByteLengthdecode, normalizepublic static boolean canRepresent(CharSequence str0)
str0 - The String to verifypublic byte[] encode(CharSequence str0)
Charsetencode in interface Charsetencode in class GSMCharsetstr0 - The Java string to convert into a byte arraypublic void decode(byte[] bytes,
StringBuilder buffer)
GSMCharsetdecode in interface Charsetdecode in class GSMCharsetbytes - The array of bytes to decodebuffer - The String buffer to append chars toCopyright © 2012-2014 Cloudhopper by Twitter. All Rights Reserved.