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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? flags.java

?? java Email you can use it to send email to others
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution License("CDDL") (collectively, the "License").  You * may not use this file except in compliance with the License. You can obtain * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html * or glassfish/bootstrap/legal/LICENSE.txt.  See the License for the specific * language governing permissions and limitations under the License. * * When distributing the software, include this License Header Notice in each * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt. * Sun designates this particular file as subject to the "Classpath" exception * as provided by Sun in the GPL Version 2 section of the License file that * accompanied this code.  If applicable, add the following below the License * Header, with the fields enclosed by brackets [] replaced by your own * identifying information: "Portions Copyrighted [year] * [name of copyright owner]" * * Contributor(s): * * If you wish your version of this file to be governed by only the CDDL or * only the GPL Version 2, indicate your decision by adding "[Contributor] * elects to include this software in this distribution under the [CDDL or GPL * Version 2] license."  If you don't indicate a single choice of license, a * recipient has the option to distribute your version of this file under * either the CDDL, the GPL Version 2 or to extend the choice of license to * its licensees as provided above.  However, if you add GPL Version 2 code * and therefore, elected the GPL Version 2 license, then the option applies * only if the new code is made subject to such option by the copyright * holder. *//* * @(#)Flags.java	1.22 07/05/14 */package javax.mail;import java.io.Serializable;import java.util.*;/** * The Flags class represents the set of flags on a Message.  Flags * are composed of predefined system flags, and user defined flags. <p> * * A System flag is represented by the <code>Flags.Flag</code>  * inner class. A User defined flag is represented as a String. * User flags are case-independent. <p> * * A set of standard system flags are predefined.  Most folder * implementations are expected to support these flags.  Some * implementations may also support arbitrary user-defined flags.  The * <code>getPermanentFlags</code> method on a Folder returns a Flags * object that holds all the flags that are supported by that folder * implementation. <p> * * A Flags object is serializable so that (for example) the * use of Flags objects in search terms can be serialized * along with the search terms. <p> * * <strong>Warning:</strong> * Serialized objects of this class may not be compatible with future * JavaMail API releases.  The current serialization support is * appropriate for short term storage. <p> * * The below code sample illustrates how to set, examine and get the  * flags for a message. <p> * <pre> * * Message m = folder.getMessage(1); * m.setFlag(Flags.Flag.DELETED, true); // set the DELETED flag * * // Check if DELETED flag is set of this message * if (m.isSet(Flags.Flag.DELETED)) *	System.out.println("DELETED message"); * * // Examine ALL system flags for this message * Flags flags = m.getFlags(); * Flags.Flag[] sf = flags.getSystemFlags(); * for (int i = 0; i < sf.length; i++) { *	if (sf[i] == Flags.Flag.DELETED) *            System.out.println("DELETED message"); *	else if (sf[i] == Flags.Flag.SEEN) *            System.out.println("SEEN message"); *      ...... *      ...... * } * </pre> * <p> * * @see    Folder#getPermanentFlags * @author John Mani * @author Bill Shannon */public class Flags implements Cloneable, Serializable {    private int system_flags = 0;    private Hashtable user_flags = null;    private final static int ANSWERED_BIT 	= 0x01;    private final static int DELETED_BIT 	= 0x02;    private final static int DRAFT_BIT 		= 0x04;    private final static int FLAGGED_BIT 	= 0x08;    private final static int RECENT_BIT		= 0x10;    private final static int SEEN_BIT		= 0x20;    private final static int USER_BIT		= 0x80000000;    private static final long serialVersionUID = 6243590407214169028L;    /**     * This inner class represents an individual system flag. A set     * of standard system flag objects are predefined here.     */    public static final class Flag {	/**	 * This message has been answered. This flag is set by clients 	 * to indicate that this message has been answered to.	 */	public static final Flag ANSWERED = new Flag(ANSWERED_BIT);	/**	 * This message is marked deleted. Clients set this flag to	 * mark a message as deleted. The expunge operation on a folder	 * removes all messages in that folder that are marked for deletion.	 */	public static final Flag DELETED = new Flag(DELETED_BIT);	/**	 * This message is a draft. This flag is set by clients	 * to indicate that the message is a draft message.	 */	public static final Flag DRAFT = new Flag(DRAFT_BIT);	/**	 * This message is flagged. No semantic is defined for this flag.	 * Clients alter this flag.	 */	public static final Flag FLAGGED = new Flag(FLAGGED_BIT);	/**	 * This message is recent. Folder implementations set this flag	 * to indicate that this message is new to this folder, that is,	 * it has arrived since the last time this folder was opened. <p>	 *	 * Clients cannot alter this flag.	 */	public static final Flag RECENT = new Flag(RECENT_BIT);	/**	 * This message is seen. This flag is implicitly set by the 	 * implementation when the this Message's content is returned 	 * to the client in some form. The <code>getInputStream</code>	 * and <code>getContent</code> methods on Message cause this	 * flag to be set. <p>	 *	 * Clients can alter this flag.	 */	public static final Flag SEEN = new Flag(SEEN_BIT);	/**	 * A special flag that indicates that this folder supports	 * user defined flags. <p>	 *	 * The implementation sets this flag. Clients cannot alter 	 * this flag but can use it to determine if a folder supports	 * user defined flags by using	 * <code>folder.getPermanentFlags().contains(Flags.Flag.USER)</code>.	 */	public static final Flag USER = new Flag(USER_BIT);	// flags are stored as bits for efficiency	private int bit;	private Flag(int bit) {	    this.bit = bit;	}    }    /**     * Construct an empty Flags object.     */    public Flags() { }    /**     * Construct a Flags object initialized with the given flags.     *     * @param flags	the flags for initialization     */    public Flags(Flags flags) {	this.system_flags = flags.system_flags;	if (flags.user_flags != null)	    this.user_flags = (Hashtable)flags.user_flags.clone();    }    /**     * Construct a Flags object initialized with the given system flag.     *     * @param flag	the flag for initialization     */    public Flags(Flag flag) {	this.system_flags |= flag.bit;    }    /**     * Construct a Flags object initialized with the given user flag.     *     * @param flag	the flag for initialization     */    public Flags(String flag) {	user_flags = new Hashtable(1);	user_flags.put(flag.toLowerCase(Locale.ENGLISH), flag);    }    /**     * Add the specified system flag to this Flags object.     *     * @param flag	the flag to add     */    public void add(Flag flag) {	system_flags |= flag.bit;    }    /**     * Add the specified user flag to this Flags object.     *     * @param flag	the flag to add     */    public void add(String flag) {	if (user_flags == null)	    user_flags = new Hashtable(1);	user_flags.put(flag.toLowerCase(Locale.ENGLISH), flag);    }    /**     * Add all the flags in the given Flags object to this     * Flags object.     *     * @param f	Flags object     */    public void add(Flags f) {	system_flags |= f.system_flags; // add system flags	if (f.user_flags != null) { // add user-defined flags	    if (user_flags == null)		user_flags = new Hashtable(1);	    Enumeration e = f.user_flags.keys();	    while (e.hasMoreElements()) {		String s = (String)e.nextElement();		user_flags.put(s, f.user_flags.get(s));	    }	}    }    /**     * Remove the specified system flag from this Flags object.     *     * @param	flag 	the flag to be removed     */    public void remove(Flag flag) {	system_flags &= ~flag.bit;    }    /**     * Remove the specified user flag from this Flags object.     *     * @param	flag 	the flag to be removed     */    public void remove(String flag) {	if (user_flags != null)	    user_flags.remove(flag.toLowerCase(Locale.ENGLISH));    }    /**     * Remove all flags in the given Flags object from this      * Flags object.     *     * @param	f 	the flag to be removed     */    public void remove(Flags f) {	system_flags &= ~f.system_flags; // remove system flags	if (f.user_flags != null) {	    if (user_flags == null)		return;	    Enumeration e = f.user_flags.keys();	    while (e.hasMoreElements())		user_flags.remove(e.nextElement());

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
免播放器亚洲一区| 国产精品亚洲成人| 国产亚洲一区二区三区| 91免费国产在线| 蜜桃视频在线一区| 一区二区日韩av| 欧美激情综合五月色丁香| 欧美日韩亚洲高清一区二区| av在线一区二区| 老司机免费视频一区二区三区| 亚洲美女视频在线| 久久久久久久久蜜桃| 欧美精品99久久久**| 色哟哟一区二区在线观看| 国产传媒一区在线| 国产综合色精品一区二区三区| 亚洲香肠在线观看| 亚洲日穴在线视频| 国产精品视频线看| 久久人人97超碰com| 欧美一卡二卡三卡| 欧美美女一区二区在线观看| 在线观看视频欧美| 99精品视频一区二区| 成熟亚洲日本毛茸茸凸凹| 精品一区二区三区的国产在线播放| 亚洲成人激情综合网| 亚洲综合激情另类小说区| 亚洲视频一区二区在线观看| 国产日韩欧美激情| 国产清纯在线一区二区www| 久久影音资源网| 久久综合久久鬼色| wwww国产精品欧美| 精品成人私密视频| 欧美精品一区二区三区高清aⅴ| 日韩欧美一区二区免费| 精品国产乱码久久久久久浪潮| 日韩欧美卡一卡二| 欧美精品一区二区蜜臀亚洲| ww久久中文字幕| 久久久91精品国产一区二区精品 | 中文字幕一区二区三区蜜月| 欧美国产日韩在线观看| 国产精品网曝门| 国产精品久久久久久久久久免费看| 国产精品美女久久久久久| 成人免费在线视频| 自拍偷在线精品自拍偷无码专区| 亚洲欧美在线视频观看| 亚洲欧美另类在线| 亚洲福利视频一区| 裸体健美xxxx欧美裸体表演| 国产在线乱码一区二区三区| 国产+成+人+亚洲欧洲自线| 成人av在线播放网址| 91丨porny丨国产入口| 欧美午夜影院一区| 日韩欧美中文字幕精品| 国产亚洲欧美一级| 亚洲色图视频免费播放| 亚洲高清免费视频| 麻豆91在线播放| 成人激情小说网站| 欧美视频一区二| 精品国产成人在线影院| 自拍偷在线精品自拍偷无码专区| 亚洲国产欧美日韩另类综合| 看电视剧不卡顿的网站| 成人一级视频在线观看| 一本在线高清不卡dvd| 日韩一区二区三区免费看 | 成人午夜视频在线观看| 色婷婷av一区二区三区大白胸 | 中文字幕一区不卡| 亚洲高清免费在线| 丰满少妇久久久久久久| 国产精品美女久久福利网站| 一区二区三区四区在线免费观看| 日韩成人免费电影| 国产精品乡下勾搭老头1| 色94色欧美sute亚洲线路一ni | 久久99精品久久久久久动态图| 国产99久久久国产精品免费看| 在线观看一区二区视频| 久久蜜桃av一区精品变态类天堂 | 国产美女主播视频一区| 91久久一区二区| 久久久天堂av| 午夜电影网一区| 成人av在线影院| 欧美va亚洲va在线观看蝴蝶网| 一区二区在线观看不卡| 国产精品自拍毛片| 在线观看91av| 国产精品久久久久久久久搜平片| 香港成人在线视频| 成人天堂资源www在线| 91精品国产综合久久香蕉麻豆| 日韩伦理免费电影| 韩国欧美一区二区| 91精品欧美综合在线观看最新| 成人免费一区二区三区在线观看| 久久99精品久久久久久| 6080午夜不卡| 亚洲激情中文1区| www.亚洲激情.com| 久久久久国产精品厨房| 日本午夜精品一区二区三区电影| 99久久国产综合精品女不卡| 久久久精品tv| 久久99深爱久久99精品| 51精品秘密在线观看| 一区二区三区四区不卡视频| av电影在线不卡| 欧美激情一区二区| 国产麻豆日韩欧美久久| 欧美精品一区二区三区视频| 日韩精品三区四区| 欧美性猛交一区二区三区精品| 亚洲人xxxx| 不卡一区二区在线| 国产精品乱人伦| 国产美女视频91| 欧美videos中文字幕| 久久av资源网| 精品国产乱码久久久久久老虎 | 91精品国产综合久久久久久久久久 | 激情综合网天天干| 日韩欧美一级片| 免费看欧美美女黄的网站| 欧美色图片你懂的| 亚洲一区二区免费视频| 欧洲视频一区二区| 亚洲综合激情另类小说区| 欧美亚一区二区| 水蜜桃久久夜色精品一区的特点 | 欧美日韩久久一区| 日韩精品国产欧美| 91精品国产综合久久精品图片| 天天av天天翘天天综合网色鬼国产| 欧美三级电影网| 肉色丝袜一区二区| 日韩欧美在线一区二区三区| 另类欧美日韩国产在线| 欧美精品一区二区蜜臀亚洲| 国产白丝精品91爽爽久久| 国产精品久久久久久久第一福利| 99re66热这里只有精品3直播| 亚洲制服丝袜一区| 在线播放日韩导航| 韩国毛片一区二区三区| 欧美国产精品中文字幕| 色呦呦国产精品| 日韩不卡一二三区| 2023国产一二三区日本精品2022| 狠狠狠色丁香婷婷综合激情| 国产精品美女一区二区三区| 色婷婷久久综合| 午夜视频一区二区三区| 久久综合av免费| 91麻豆精品一区二区三区| 天堂成人国产精品一区| 久久只精品国产| 91成人在线免费观看| 久久精品久久综合| 国产精品久久久久天堂| 欧美日韩一区二区在线观看视频| 捆绑调教一区二区三区| 欧美激情一区二区三区全黄| 色88888久久久久久影院按摩| 男男gaygay亚洲| 国产精品久久久久天堂| 欧美伦理电影网| 国产sm精品调教视频网站| 尤物视频一区二区| 欧美精品一区二区不卡| 91福利在线观看| 精品一区二区影视| 伊人色综合久久天天人手人婷| 日韩欧美资源站| 在线日韩国产精品| 国内久久婷婷综合| 亚洲第一av色| 日本一区二区三区电影| 欧美另类久久久品| 国产乱子轮精品视频| 亚洲国产一区二区三区青草影视| 国产亚洲一区字幕| 91麻豆精品国产91久久久更新时间| 成人一区二区视频| 欧美aaaaa成人免费观看视频| 国产精品久久久久9999吃药| 欧美一区永久视频免费观看| 91免费观看视频在线| 国产一区二区视频在线| 亚洲成av人片在线| 自拍偷拍欧美激情| 国产日韩欧美精品在线| 日韩三级中文字幕|