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 UCS2AlphabetEncoding

java.lang.Object
  extended by ie.ncl.util.chars.StringEncoding
      extended by ie.ncl.sms.dcs.UCS2AlphabetEncoding

public class UCS2AlphabetEncoding
extends ie.ncl.util.chars.StringEncoding

This is the GSM UCS2 Unicode 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).


Field Summary
static char FLASH
          Special flashing character (unicode).
 
Constructor Summary
UCS2AlphabetEncoding()
           
 
Method Summary
 byte[] getBytes(java.lang.String s)
          UCS2 Encode.
 java.lang.String getString(byte[] bytes)
          UCS2 Decode.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLASH

public static final char FLASH
Special flashing character (unicode).

See Also:
Constant Field Values
Constructor Detail

UCS2AlphabetEncoding

public UCS2AlphabetEncoding()
Method Detail

getBytes

public byte[] getBytes(java.lang.String s)
UCS2 Encode.

Specified by:
getBytes in class ie.ncl.util.chars.StringEncoding

getString

public java.lang.String getString(byte[] bytes)
UCS2 Decode.

Specified by:
getString in class ie.ncl.util.chars.StringEncoding

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