|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectie.ncl.util.chars.StringEncoding
ie.ncl.util.chars.CharacterEncoding
ie.ncl.util.chars.EscapeCharacterEncoding
ie.ncl.sms.dcs.GsmAlphabetEncoding
public class GsmAlphabetEncoding
This is the default GSM 7-bit Character encoding scheme. Pass it a string/bytes and it returns the corresponding bytes/string. You cannot be guaranteed that the length of the string and the length of the byte array will be the same (as some escape characters may be used).
Constructor Summary | |
---|---|
GsmAlphabetEncoding()
|
|
GsmAlphabetEncoding(boolean dontUseExtentions)
|
Method Summary | |
---|---|
boolean |
isLongGsmMessage(java.lang.String text)
|
static java.lang.String |
transposeFirstCharacter(java.lang.String s)
|
Methods inherited from class ie.ncl.util.chars.EscapeCharacterEncoding |
---|
decode, encode, getBaseCharacterEncoding, getCustomCharacterEncoding, getEncodingLength, getEscapeByte, getEscapedCharacterEncoding, getString, isEscapeCharAtEnd, recognize, setBaseCharacterEncoding, setCustomCharacterEncoding, setEscapeByte, setEscapedCharacterEncoding |
Methods inherited from class ie.ncl.util.chars.CharacterEncoding |
---|
getBytes, getString, getUnknownByte, getUnknownChar, isCharacterMapped, isEncodable |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GsmAlphabetEncoding()
public GsmAlphabetEncoding(boolean dontUseExtentions)
Method Detail |
---|
public static java.lang.String transposeFirstCharacter(java.lang.String s)
public boolean isLongGsmMessage(java.lang.String text)
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |