ie.omk.smpp.util.UCS2Encoding Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smppapi Show documentation
Show all versions of smppapi Show documentation
Java Implementation of the Short Message Peer to Peer API.
The newest version!
package ie.omk.smpp.util;
import java.io.UnsupportedEncodingException;
public class UCS2Encoding extends ie.omk.smpp.util.AlphabetEncoding {
private static final String ENCODING = "ISO-10646-UCS-2";
private static final int DCS = 8;
/**
* Construct a new UCS2 encoding.
* @throws java.io.UnsupportedEncodingException if the ISO-10646-UCS-2
* charset is not supported by the JVM.
*/
public UCS2Encoding() throws UnsupportedEncodingException {
super(DCS);
setCharset(ENCODING);
}
}