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

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

?? inboxclient.java

?? 使用java編寫的手機郵件系統
?? JAVA
字號:
/****************************************************************************** * Mail4ME - Mail for the Java 2 Micro Edition * * A lightweight, J2ME- (and also J2SE-) compatible package for sending and * receiving Internet mail messages using the SMTP and POP3 protocols. * * Copyright (c) 2000-2002 J鰎g Pleumann <joerg@pleumann.de> * * Mail4ME is part of the EnhydraME family of projects. See the following web * sites for more information: * * -> http://mail4me.enhydra.org * -> http://me.enhydra.org * * Mail4ME is distributed under the Enhydra Public License (EPL), which is * discussed in great detail here: * * -> http://www.enhydra.org/software/license/index.html * * Have fun! ******************************************************************************/package de.trantor.mail;import java.io.IOException;/** * This class provides an abstraction for the various protocols that are used * to access a mailbox (currently POP3 and IMAP). The first thing an application * should do is create an instance of a concrete protocol using the getInstance() * method. After a session has been established using the open() method on this * instance, the number of available messages can be queried by calling the * getMessageCount() method, and arbitrary messages or their headers can be * retrieved from the mailbox using getMessage() or getHeaders(), respectively. * Deleting messages is possible using removeMessage(). Each session should be * terminated by a call to the close() method. * <p> * Note that all message numbering follows the usual Java conventions for * vectors. Thus message indices must be numbers ranging from 0 to * getMessageCount() - 1, regardless of what the conventions for the actual * protocols are. Implementors of new concrete protocol classes have to keep that * in mind, too, of course. *  * @see Pop3Client * @see ImapClient */public abstract class InboxClient {    /**     * Holds the socket used for communication with the server.     */    protected Connection connection;    /**     * If true, protocol debugging information is written to standard output.     */    private boolean debug;    /**     * Initializes the Connection object belonging to this InboxClient. This     * constructor is never called directly, but from descendant classes instead.     */    protected InboxClient(Connection connection) {        if (connection == null) connection = Connection.getInstance();        this.connection = connection;    }    /**     * Opens a mailbox session. In addition to the remote host's name, username     * and password have to be specified in order to get access to the mailbox.     * The well-known port is used, and an insecure (non-SSL) connection is     * opened.     *     * @see #open(String, int, boolean, String, String)     * @see #close     * @see #connected     */    public void open(String host, String user, String pass) throws Exception, IOException, MailException {        open(host, 0, false, user, pass);    }    /**     * Opens a mailbox session. In addition to the remote host's name, the port     * and the comnnection type (SSL or simple TCP), the username and password     * have to be specified in order to get access to the mailbox. Note that you     * can pass a zero port number to use the well known port for the protocol.     *     * @see #open(String, String, String)     * @see #close     * @see #connected     */    public abstract void open(String host, int port, boolean ssl, String user, String pass) throws Exception, IOException, MailException;    /**     * Ends the mailbox session. This method should be called after access to the     * server, in order to close the underlying socket connection and thus free     * resources.     *     * @see #open     * @see #connected     */    public abstract void close() throws IOException, MailException;    /**     * Returns true, if the client is currently connected to an SMTP server.     *     * @see #open     * @see #close     */    public boolean connected() {        return connection.connected();    }    /**     * Queries the number of messages currently available in the mailbox.     *     * @see #getMessage     * @see #getHeaders     * @see #removeMessage     *     */    public abstract int getMessageCount() throws IOException, MailException;    /**     * Retrieves a message from the mailbox. The method retrieves the     * message with the given index from the server. Message numbering     * follows the usual Java conventions for vectors. Thus the index must     * be a number ranging from 0 to getMessageCount() - 1.     *     * @see #getMessageCount     * @see #getHeaders     */    public abstract Message getMessage(int index) throws IOException, MailException;    /**     * Retrieves a message's headers from the mailbox. The method retrieves     * the headers of the message with the given index from the server. It     * does not retrieve any body lines, so this message is a good means to get     * a quick catalog of the messages available in a mailbox. Message numbering     * follows the usual Java conventions for vectors. Thus the index must be a     * number ranging from 0 to getMessageCount() - 1.     *     * @see #getMessageCount     * @see #getMessage     */    public abstract Message getHeaders(int index) throws IOException, MailException;    /**     * Queries the unique ID of a message as assigned by the server that holds     * the mailbox. This is not the "Message-ID" field of the message header,     * it is a value used by the server to uniqely identify messages stored     * in the mailbox. The server guarantees that no two messages stored in the     * mailbox will ever have the same ID value. So this value can be used to     * find out which messages have already been downloaded and which ones have     * not.     * <p>     * Message numbering follows the usual Java conventions for vectors. Thus     * the index must be a number ranging from 0 to getMessageCount() - 1.     *     * @see #getMessageCount     */    public abstract String getUniqueId(int index) throws IOException, MailException;    /**     * Queries the size of a message. This method queries the size of the given     * message in bytes.     * <p>     * Message numbering follows the usual Java conventions for vectors. Thus     * the index must be a number ranging from 0 to getMessageCount() - 1.     *     * @see #getMessageCount     */    public abstract int getSize(int index) throws IOException, MailException;    /**     * Removes a message from the mailbox. The method deletes the message with     * the given index from the mailbox. When deleting messages, two things     * have to be noted:     *     * <ul>     *   <li> The messages might not be immediately deleted from the server. For     *        POP3, this usually happens when the session is closed. It is not     *        possible to retrieve or otherwise access a deleted message any     *        longer, though.     *     *   <li> Because the message is not deleted immediatly, the indices of other     *        messages in the box don't change until the session is closed. So     *        if you delete message #0 of two messages, there's still a message     *        #1 in the mailbox.     * </ul>     *     * Message numbering follows the usual Java conventions for vectors. Thus the     * index must be a number ranging from 0 to getMessageCount() - 1.     *     * @see #getMessageCount     */    public abstract void removeMessage(int index) throws IOException, MailException;    /**     * Controls the output of debugging information to standard output. Set it to     * true to see all protocol information exchanged.     *     * @see #getDebug     */    public void setDebug(boolean debug) {        connection.setDebug(debug);    }    /**     * Queries the current value of the debugging flag.     *     * @see #setDebug     */    public boolean getDebug() {        return connection.getDebug();    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合久久88色综合天天免费| 亚洲卡通动漫在线| 性欧美大战久久久久久久久| 成人h动漫精品一区二| 精品日韩成人av| 亚洲大型综合色站| 欧美伊人精品成人久久综合97| 中文字幕一区二区三中文字幕| 国产v综合v亚洲欧| 亚洲国产岛国毛片在线| 国产成人精品www牛牛影视| 2022国产精品视频| 国产成人综合在线观看| 正在播放一区二区| 黄一区二区三区| 国产丝袜在线精品| a在线播放不卡| 亚洲精品视频自拍| 欧美日韩情趣电影| 日韩成人dvd| 亚洲精品一区二区三区在线观看| 国产一区二区三区四区在线观看| 欧美日韩国产综合久久| 午夜精品久久久久久久久久| 成人免费看视频| 亚洲人成小说网站色在线 | 日韩免费观看高清完整版 | 色婷婷久久综合| 亚洲午夜成aⅴ人片| 白白色亚洲国产精品| 国产精品麻豆网站| 欧洲一区在线电影| 青青青伊人色综合久久| 久久久国产一区二区三区四区小说 | 国产一区二区三区免费观看| 欧美国产97人人爽人人喊| 99久久国产综合精品色伊| 亚洲一二三四区不卡| 欧美一级日韩免费不卡| 国产在线精品一区二区不卡了| 国产精品久久久久一区二区三区 | 韩国精品免费视频| 中日韩免费视频中文字幕| 国产精品夜夜嗨| 亚洲国产精品成人综合色在线婷婷 | 日韩欧美亚洲国产另类| 国产精品1区二区.| 亚洲激情第一区| 日韩欧美国产综合| aaa国产一区| 蜜臀av亚洲一区中文字幕| 国产精品剧情在线亚洲| 不卡一区二区三区四区| 五月天激情综合| 国产精品电影院| 欧美成人精品3d动漫h| eeuss影院一区二区三区| 久久精品av麻豆的观看方式| ...xxx性欧美| 91精品国产综合久久久久| youjizz国产精品| 免费观看在线综合色| 亚洲精品免费电影| 久久人人爽爽爽人久久久| 色94色欧美sute亚洲13| 国产乱人伦偷精品视频不卡| 亚洲国产欧美在线人成| 国产精品美女久久久久aⅴ国产馆| 欧美性极品少妇| 成人国产精品免费网站| 激情综合网天天干| 亚洲成av人影院| 樱花草国产18久久久久| 欧美国产视频在线| 久久免费美女视频| 欧美精品1区2区3区| 91久久精品一区二区三区| 国产成人aaa| 美腿丝袜在线亚洲一区| 亚洲国产成人av| 亚洲精品国产精品乱码不99| 中文幕一区二区三区久久蜜桃| 精品第一国产综合精品aⅴ| 欧美日韩亚洲综合在线 | 欧美精品三级在线观看| 日本韩国一区二区三区| 97se亚洲国产综合自在线不卡| 国产成人av电影在线| 国产一区二区三区免费观看| 激情五月婷婷综合| 午夜精品福利一区二区三区蜜桃| 亚洲欧美视频在线观看视频| 亚洲精品一线二线三线无人区| 欧美一区二区三区小说| 欧美一卡二卡在线| 在线观看一区日韩| 欧美三区在线观看| 欧美日韩和欧美的一区二区| 欧美性大战久久| 欧美亚洲国产一卡| 色综合亚洲欧洲| 一本色道亚洲精品aⅴ| 色呦呦国产精品| 91搞黄在线观看| 色欧美乱欧美15图片| 欧美午夜精品一区二区三区| 欧美在线观看视频在线| 欧美三级韩国三级日本三斤| 91精品国产综合久久国产大片| 欧美日韩成人一区| 欧美成人高清电影在线| 久久精品免视看| 亚洲欧美日韩成人高清在线一区| 中文字幕综合网| 亚洲精品高清在线| 亚洲午夜精品网| 麻豆精品在线观看| 国产成人在线观看免费网站| 成年人午夜久久久| 欧洲视频一区二区| 日韩精品中文字幕一区| 国产欧美精品国产国产专区| 国产欧美视频在线观看| 中文字幕乱码亚洲精品一区| 亚洲精品日日夜夜| 久久国产精品露脸对白| 国产一区二区三区免费在线观看| 99视频一区二区| 777xxx欧美| 久久在线免费观看| 亚洲天堂久久久久久久| 亚洲丰满少妇videoshd| 国产一区二区三区高清播放| av网站一区二区三区| 欧美人牲a欧美精品| 欧美精品一区二区三区久久久 | 国产日产亚洲精品系列| 亚洲在线中文字幕| 国产在线观看一区二区| 99国产精品久久久| 欧美日韩日本视频| 国产日韩精品一区二区三区 | 日韩激情一区二区| 在线观看网站黄不卡| 中文字幕国产精品一区二区| 久久99国产精品久久99 | 久久嫩草精品久久久精品| 丝袜a∨在线一区二区三区不卡| www.欧美亚洲| 国产午夜精品久久久久久久| 美腿丝袜亚洲色图| 欧美精品精品一区| 一区二区三区.www| 91亚洲男人天堂| 国产日韩精品视频一区| 国产美女精品一区二区三区| 欧美mv和日韩mv的网站| 美女视频一区二区| 欧美精品九九99久久| 亚洲va天堂va国产va久| 欧美在线影院一区二区| 亚洲欧美日韩久久| 99麻豆久久久国产精品免费优播| 久久精品这里都是精品| 国产美女娇喘av呻吟久久| 精品福利一二区| 精品一区二区在线免费观看| 欧美成人在线直播| 久久国产精品99久久人人澡| 欧美不卡一区二区三区四区| 久久97超碰色| 欧美精品一区二区三区高清aⅴ| 精品一二三四在线| 国产三级一区二区三区| 国产99久久久国产精品免费看 | 亚洲乱码国产乱码精品精小说| 粉嫩欧美一区二区三区高清影视| 欧美国产成人精品| 91免费精品国自产拍在线不卡| 欧美高清在线一区二区| 91同城在线观看| 洋洋成人永久网站入口| 91麻豆精品国产91久久久 | 亚洲一区视频在线观看视频| 在线观看国产一区二区| 亚洲二区在线观看| 日韩欧美亚洲国产另类| 国产盗摄精品一区二区三区在线| 国产嫩草影院久久久久| 91丨九色porny丨蝌蚪| 一区二区三区欧美日韩| 欧美一区二区三区视频在线 | 天堂av在线一区| xvideos.蜜桃一区二区| av一区二区不卡| 亚洲成a人片综合在线| 久久综合九色综合欧美亚洲| 国产jizzjizz一区二区| 伊人婷婷欧美激情| 日韩精品自拍偷拍|