ie.omk.smpp.util
Class HPRoman8Encoding

java.lang.Object
  extended by ie.omk.smpp.util.MessageEncoding
      extended by ie.omk.smpp.util.AlphabetEncoding
          extended by ie.omk.smpp.util.HPRoman8Encoding

public final class HPRoman8Encoding
extends AlphabetEncoding

Encoding class representing the HP-Roman8 character set.

Version:
$Id: HPRoman8Encoding.java 255 2006-03-09 09:34:37Z orank $

Constructor Summary
HPRoman8Encoding()
           
 
Method Summary
 String decodeString(byte[] b)
          Convert SMS message text into a Java String.
 byte[] encodeString(String s)
          Convert a Java String into SMS message text.
static HPRoman8Encoding getInstance()
          Deprecated.  
 
Methods inherited from class ie.omk.smpp.util.AlphabetEncoding
getCharset, setCharset
 
Methods inherited from class ie.omk.smpp.util.MessageEncoding
getDataCoding, getEncodingLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HPRoman8Encoding

public HPRoman8Encoding()
Method Detail

getInstance

public static HPRoman8Encoding getInstance()
Deprecated. 


decodeString

public String decodeString(byte[] b)
Description copied from class: AlphabetEncoding
Convert SMS message text into a Java String. Implementations of this method must support decoding null. In such cases, the String "" will be returned.

Overrides:
decodeString in class AlphabetEncoding

encodeString

public byte[] encodeString(String s)
Description copied from class: AlphabetEncoding
Convert a Java String into SMS message text. Implementations of this method must support encoding a null string. In such cases, a byte array of length 0 will be returned.

Overrides:
encodeString in class AlphabetEncoding


Copyright © 2011 smppapi at Sourceforge. All Rights Reserved.