⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cgsmalphabets.java

📁 一个收发短信收发设备进行短信收发的小程序
💻 JAVA
字号:
//	jSMSEngine API.//	An open-source API package for sending and receiving SMS via a GSM device.//	Copyright (C) 2002-2006, Thanasis Delenikas, Athens/GREECE//		Web Site: http://www.jsmsengine.org////	jSMSEngine is distributed under the GPL license.////	This program is free software; you can redistribute it and/or//	modify it under the terms of the GNU General Public License//	version 2 as published by the Free Software Foundation////	This program is distributed in the hope that it will be useful,//	but WITHOUT ANY WARRANTY; without even the implied warranty of//	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the//	GNU General Public License for more details.////	You should have received a copy of the GNU General Public License//	along with this program; if not, write to the Free Software//	Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.//package org.jsmsengine;/**	This class contains the conversion routines to and from the standard 7bit	GSM alphabet.	<br><br>	Every normal ASCII character must be converted according to the GSM 7bit	default alphabet before dispatching through the GSM device. The opposite	conversion is made when a message is received.	<br><br>	Since some characters in 7bit alphabet are in the position where control	characters exist in the ASCII alphabet, each message is represented in	HEX format as well (field hexText in CMessage class and descendants).	When talking to the GSM device, either for reading messages, or for	sending messages, a special mode is used where each character of the	actual message is represented by two hexadecimal digits.	So there is another conversion step here, in order to get the ASCII	character from each pair of hex digits, and vice verca.	<br><br>	Note: currently, only GSM default 7Bit character set is supported.	In all routines, you may assume the "charSet" parameter as constant.*/class CGSMAlphabets{	protected static final int GSM7BITDEFAULT = 1;	private static final String alphabet = "@

⌨️ 快捷键说明

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