org.mobicents.protocols.smpp.encoding
Class UTF16Encoding
java.lang.Object
org.mobicents.protocols.smpp.encoding.AbstractMessageEncoding<String>
org.mobicents.protocols.smpp.encoding.AlphabetEncoding
org.mobicents.protocols.smpp.encoding.UTF16Encoding
- All Implemented Interfaces:
- MessageEncoding<String>
public class UTF16Encoding
- extends AlphabetEncoding
|
Constructor Summary |
UTF16Encoding()
Construct a new big-endian UTF16 encoding. |
UTF16Encoding(boolean bigEndian)
Construct a new UTF16 encoding. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UTF16Encoding
public UTF16Encoding()
throws UnsupportedEncodingException
- Construct a new big-endian UTF16 encoding.
- Throws:
UnsupportedEncodingException - If the JVM does not support
the UTF16 encoding.
UTF16Encoding
public UTF16Encoding(boolean bigEndian)
throws UnsupportedEncodingException
- Construct a new UTF16 encoding.
- Parameters:
bigEndian - true to use UTF-16BE, false to use UTF-16LE.
- Throws:
UnsupportedEncodingException - If the JVM does not support
the UTF16 encoding.
Copyright © 2011 Mobicents. All Rights Reserved.