ucs2encoding.java

来自「SMPP(点到点短消息协议)的java实现」· Java 代码 · 共 19 行

JAVA
19
字号
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);    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?