亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? smsmessage.java

?? 一個手機上發短信的小程序。用J2ME開發.可以通過他發送短信和查看。
?? JAVA
字號:

package edu.soft.buaa.message.sms;

import java.util.*;

/**
	This class encapsulates the basic characteristics of an SMS message. A message
	is further subclassed to an "Incoming" message and an "Outgoing" message.
	<br><br>
	This class is <strong>never</strong> used directly. Please use one of its descendants.

	@see	IncomingMessage
	@see	StatusReportMessage
	@see	OutgoingMessage
	@see	CPhoneBook
*/
public class SMSMessage
{
	public static final int MESSAGE_ENCODING_7BIT = 1;
	public static final int MESSAGE_ENCODING_8BIT = 2;
	public static final int MESSAGE_ENCODING_UNICODE = 3;

	public static final int TYPE_INCOMING = 1;
	public static final int TYPE_OUTGOING = 2;
	public static final int TYPE_STATUS_REPORT = 3;

	private int type;
	protected String id;
	protected int memIndex;
	protected Date date;
	protected String originator;
	protected String recipient;
	protected String text;
	protected int messageEncoding;

	/**
		Default constructor of the class.

		@param	type	the type (incoming/outgoing) of the message.
		@param	date	the creation date of the message.
		@param	originator	the originator's number. Applicable only for incoming messages.
		@param	recipient	the recipient's number. Applicable only for outgoing messages.
		@param	text	the actual text of the message.
		@param	memIndex		the index of the memory location in the GSM device where
						this message is stored. Applicable only for incoming messages.

		<br><br>Notes:<br>
		<ul>
			<li>Phone numbers are represented in their international format (e.g. +306974... for Greece).</li>
			<li>"Recipient" may be an entry from the phonebook.</li>
		</ul>
	*/
	public SMSMessage(int type, Date date, String originator, String recipient, String text, int memIndex)
	{
		this.type = type;
		this.date = date;
		this.originator = originator;
		this.recipient = recipient;
		this.text = text;
		this.memIndex = memIndex;
		this.messageEncoding = MESSAGE_ENCODING_7BIT;
	}

	/**
		Returns the type of the message. Type is either incoming or outgoing, as denoted
		by the class' static values INCOMING and OUTGOING.

		@return  the type of the message.
	*/
	public int getType() { return type; }

	/**
		Returns the id of the message.

		@return  the id of the message.
	*/
	public String getId() { return id; }

	/**
		Returns the memory index of the GSM device, where the message is stored.
		Applicable only for incoming messages.

		@return  the memory index of the message.
	*/
	public int getMemIndex() { return memIndex; }

	/**
		Returns the date of the message. For incoming messages, this is the sent date.
		For outgoing messages, this is the creation date.

		@return  the date of the message.
	*/
	public Date getDate() { return date; }

	/**
		Returns the Originator of the message.

		@return  the originator of the message.
	*/
	public String getOriginator() { return originator; }

	/**
		Returns the Recipient of the message.

		@return  the recipient of the message.
	*/
	public String getRecipient() { return recipient; }

	/**
		Returns the actual text of the message (ASCII).

		@return  the text of the message.
	*/
	public String getText() { return text; }

	/**
		Returns the text of the message, in hexadecimal format.

		@return  the text of the message (HEX format).
	*/
	public String getHexText() { return SMSGSMAlphabets.text2Hex(text, SMSGSMAlphabets.GSM7BITDEFAULT); }

	/**
		Returns the encoding method of the message. Returns of the constants
		MESSAGE_ENCODING_7BIT, MESSAGE_ENCODING_8BIT, MESSAGE_ENCODING_UNICODE.
		This is meaningful only when working in PDU mode.

		@return  the message encoding.
	*/
	public int getMessageEncoding() { return messageEncoding; }

	/**
		Set the id of the message.

		@param	id	the id of the message.
	*/
	public void setId(String id) { this.id = id; }

	/**
		Set the text of the message.

		@param	text	the text of the message.
	*/
	public void setText(String text) { this.text = text; }

	/**
		Set the date of the message.

		@param	date	the date of the message.
	*/
	public void setDate(Date date) { this.date = date; }

	/**
		Set the message encoding. Should be one of the constants
		MESSAGE_ENCODING_7BIT, MESSAGE_ENCODING_8BIT, MESSAGE_ENCODING_UNICODE.
		This is meaningful only when working in PDU mode - default is 7bit.

		@param	messageEncoding	one of the message encoding contants.
	*/
	public void setMessageEncoding(int messageEncoding) { this.messageEncoding = messageEncoding; }

	public String toString()
	{
		String str;

		str = "** GSM MESSAGE **\n";
		str += "  Type: " + (type == TYPE_INCOMING ? "Incoming." : (type == TYPE_OUTGOING ? "Outgoing." : "Status Report.")) + "\n";
		str += "  Id: " + id + "\n";
		str += "  Memory Index: " + memIndex + "\n";
		str += "  Date: " + date + "\n";
		str += "  Originator: " + originator + "\n";
		str += "  Recipient: " + recipient + "\n";
		str += "  Text: " + text + "\n";
		str += "  Hex Text: " + SMSGSMAlphabets.text2Hex(text, SMSGSMAlphabets.GSM7BITDEFAULT) + "\n";
		str += "  Encoding: " + messageEncoding + "\n";
		str += "***\n";
		return str;
	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成a人片在线观看中文| 精品蜜桃在线看| 一区二区三区四区五区视频在线观看 | 久久综合九色综合97婷婷 | 国产美女精品在线| 久久久久久一二三区| 国产福利视频一区二区三区| 久久精品视频一区二区三区| 国产成人在线电影| 欧美激情中文字幕| 91一区一区三区| 亚洲国产裸拍裸体视频在线观看乱了 | 亚洲国产中文字幕在线视频综合| 欧美人与性动xxxx| 久久99久久久久久久久久久| 久久久亚洲欧洲日产国码αv| 成人动漫视频在线| 亚洲一区成人在线| 欧美成人vps| 成人h动漫精品一区二区| 一区二区三区久久| 欧美tickling网站挠脚心| 国产精品综合av一区二区国产馆| 1区2区3区精品视频| 欧美日韩中文字幕一区二区| 国内久久婷婷综合| 亚洲欧美日韩人成在线播放| 欧美日韩成人综合天天影院 | 婷婷丁香激情综合| 国产日韩欧美a| 欧美日韩久久久一区| 精品亚洲国产成人av制服丝袜| 国产精品盗摄一区二区三区| 欧美肥妇free| 成人黄色电影在线| 色婷婷精品大在线视频| 久久99热狠狠色一区二区| 中文字幕一区二区三区四区不卡| 欧美日韩aaa| 成人激情免费网站| 美女视频黄 久久| 亚洲三级免费电影| 久久久亚洲精品石原莉奈| 色婷婷综合久久| 国产乱子轮精品视频| 亚洲无线码一区二区三区| 久久久久久久久久久99999| 欧美婷婷六月丁香综合色| 国产电影精品久久禁18| 天天影视涩香欲综合网| 亚洲欧美日韩国产手机在线| 久久综合中文字幕| 欧美日韩精品三区| 99re成人精品视频| 国产精品18久久久久久vr| 亚瑟在线精品视频| 亚洲欧美日韩电影| 中文字幕高清不卡| 精品国产1区二区| 欧美日韩精品二区第二页| 91欧美激情一区二区三区成人| 国内精品第一页| 三级影片在线观看欧美日韩一区二区| 国产精品久久一卡二卡| 久久久另类综合| 精品国产乱码久久久久久闺蜜| 5858s免费视频成人| 色素色在线综合| 91免费国产在线观看| 成人听书哪个软件好| 国产经典欧美精品| 国产资源在线一区| 狂野欧美性猛交blacked| 日本麻豆一区二区三区视频| 亚洲成va人在线观看| 亚洲一区二区三区三| 亚洲一区二区高清| 亚洲一区在线视频| 亚洲第一精品在线| 石原莉奈在线亚洲三区| 亚洲成人激情综合网| 亚洲成a人片在线不卡一二三区| 亚洲综合免费观看高清完整版在线| 国产精品久久久久影院色老大| 国产欧美1区2区3区| 国产精品亲子乱子伦xxxx裸| 欧美激情在线看| 国产精品国产三级国产aⅴ入口| 亚洲特级片在线| 亚洲男人的天堂av| 一区二区三区国产精品| 亚洲国产中文字幕在线视频综合| 亚洲综合激情小说| 日韩高清电影一区| 精品制服美女久久| 成人av手机在线观看| av网站免费线看精品| 欧洲激情一区二区| 欧美午夜精品久久久久久超碰| 欧美猛男男办公室激情| 欧美va天堂va视频va在线| 久久精品亚洲一区二区三区浴池| 中文字幕不卡的av| 亚洲精品v日韩精品| 午夜欧美电影在线观看| 欧美美女一区二区三区| 日韩欧美在线123| 国产亚洲1区2区3区| 亚洲人成亚洲人成在线观看图片| 洋洋av久久久久久久一区| 免费一级片91| 成人一道本在线| 欧美专区亚洲专区| 精品三级av在线| 国产精品久线观看视频| 日韩精品电影在线| 国产v日产∨综合v精品视频| 色999日韩国产欧美一区二区| 欧美一级日韩一级| 日韩理论片网站| 五月婷婷综合在线| 粉嫩欧美一区二区三区高清影视| 91麻豆免费看片| 精品国产亚洲一区二区三区在线观看| 国产精品色一区二区三区| 天天做天天摸天天爽国产一区 | 久久99久久精品| 91麻豆swag| 精品国产1区二区| 亚洲综合另类小说| 成人午夜看片网址| 91麻豆精品国产自产在线观看一区 | 国产精品91一区二区| 欧美日韩在线电影| 国产精品萝li| 精品亚洲成a人| 91麻豆精品国产91久久久久| 国产日韩欧美a| 蜜臀av在线播放一区二区三区| 99在线精品免费| 欧美一级片在线| 亚洲午夜久久久久| 韩国av一区二区| 日本韩国欧美在线| 久久久91精品国产一区二区三区| 亚洲福中文字幕伊人影院| 国产麻豆日韩欧美久久| 色婷婷综合五月| 久久这里只有精品视频网| 中文字幕日韩精品一区| 天天色天天爱天天射综合| 成人国产亚洲欧美成人综合网 | 日韩精品一二三| 91丨porny丨户外露出| 久久先锋影音av鲁色资源网| 亚洲精品国产视频| 国产一区二区福利视频| 91麻豆精品国产91久久久更新时间| 国产精品久久久久久亚洲毛片 | 91蜜桃免费观看视频| 国产亚洲欧美一级| 日韩va欧美va亚洲va久久| 在线免费亚洲电影| 国产人妖乱国产精品人妖| 国产剧情一区在线| 欧美一区二区三区四区高清| 一区二区在线看| 99久久精品国产麻豆演员表| 久久久美女毛片| 免费成人美女在线观看| 91色婷婷久久久久合中文| 亚洲欧美日韩一区二区三区在线观看| 东方aⅴ免费观看久久av| 欧美成人一区二区三区在线观看| 亚洲美女精品一区| 成人开心网精品视频| 国产三级三级三级精品8ⅰ区| 色先锋资源久久综合| 亚洲色图在线播放| 97久久精品人人澡人人爽| 国产精品你懂的在线| 国产成人自拍网| 国产精品亲子乱子伦xxxx裸| 成人一区二区三区| 国产精品你懂的| 色综合久久综合网| 一区二区三区欧美日| 色综合久久久久综合| 亚洲激情五月婷婷| 日韩一区二区三区在线观看| 五月天激情综合| 日韩一区二区三区观看| 日韩电影在线观看一区| 亚洲精品在线免费播放| 国产精品99久久久久久宅男| 国产精品色婷婷久久58| 国产精品69久久久久水密桃| 亚洲男人的天堂网| 欧美亚洲综合一区| 水蜜桃久久夜色精品一区的特点|