📄 constants.java
字号:
package com.gctech.sms.app;
import java.io.*;
/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2004</p>
* <p>Company: gctech</p>
* @author 王红宝
* @version $Id: Constants.java,v 1.2 2004/05/10 08:27:20 wanghb Exp $
*/
public class Constants {
//测试消息
public static final int ACTIVE_MSG = 9097;
public static final int ACTIVE_RESP_MSG = 9098;
//下行短信信息
public static final int MT_MSG = 0x01;
//订阅消息
public static final int SUBSCRIBE_MSG = 0x02;
//退订消息
public static final int UNSUBSCRIBE_MSG = 0x03;
//农行订阅消息
public static final int ABCHINA_SUBSCRIBE_MSG = 0x04;
//农行退订消息
public static final int ABCHINA_UNSUBSCRIBE_MSG = 0x05;
//农行批处理消息
public static final int ABCHINA_BATCH_MSG = 0x06;
//农行订阅消息1
public static final int ABCHINA_SUBSCRIBE_MSG1 = 0x07;
public static void main(String[] args) throws UnsupportedEncodingException {
String test = "";
try {
String a = new String(test.getBytes(""), "abc");
}
catch (UnsupportedEncodingException ex) {
System.out.println("异常:"+ex.getMessage());
throw ex;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -