Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit

ie.ncl.sms.dcs
Class GsmAlphabetEncoding

java.lang.Object
  extended by ie.ncl.util.chars.StringEncoding
      extended by ie.ncl.util.chars.CharacterEncoding
          extended by ie.ncl.util.chars.EscapeCharacterEncoding
              extended by ie.ncl.sms.dcs.GsmAlphabetEncoding
Direct Known Subclasses:
SemaMOAlphabetEncoding, SemaMTAlphabetEncoding

public class GsmAlphabetEncoding
extends ie.ncl.util.chars.EscapeCharacterEncoding

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

GsmAlphabetEncoding

public GsmAlphabetEncoding()

GsmAlphabetEncoding

public GsmAlphabetEncoding(boolean dontUseExtentions)
Method Detail

transposeFirstCharacter

public static java.lang.String transposeFirstCharacter(java.lang.String s)

isLongGsmMessage

public boolean isLongGsmMessage(java.lang.String text)

Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit