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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? flags.java

?? java Email you can use it to send email to others
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/* * 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());

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美人狂配大交3d怪物一区| 91精品国产91久久久久久一区二区 | 日韩影院免费视频| 国产成人一区二区精品非洲| 欧美亚洲国产一区在线观看网站| 久久精品人人做| 日韩美女精品在线| 91影视在线播放| 日韩精品一区国产麻豆| 一区二区三区精品在线观看| 国产一区二区三区蝌蚪| 日韩亚洲欧美一区二区三区| 亚洲猫色日本管| 国产福利一区二区三区视频| 91精品国产一区二区| 亚洲激情在线播放| av电影在线观看不卡| 久久女同精品一区二区| 蜜臀久久久久久久| 欧美日本在线看| 亚洲成人精品在线观看| 在线观看三级视频欧美| 亚洲精品国产一区二区三区四区在线| 国产成人精品1024| 久久九九久久九九| 精品无人区卡一卡二卡三乱码免费卡| 在线91免费看| 亚洲综合一二三区| 国产精品亚洲专一区二区三区| 日韩女优av电影在线观看| 免费人成网站在线观看欧美高清| 欧美午夜理伦三级在线观看| 亚洲精品你懂的| 91福利视频网站| 亚洲国产精品久久一线不卡| 欧美中文字幕一区| 亚洲电影中文字幕在线观看| 欧美日韩高清一区二区| 亚洲黄色av一区| 91麻豆精品国产无毒不卡在线观看 | 在线播放一区二区三区| 午夜一区二区三区视频| 欧美精品在欧美一区二区少妇| 天堂av在线一区| 欧美一级xxx| 国产精品一区二区三区四区| 国产亚洲欧美一区在线观看| av激情成人网| 性做久久久久久久免费看| 日韩精品资源二区在线| 国产成人精品一区二区三区四区 | 91亚洲午夜精品久久久久久| 亚洲一区二区三区中文字幕在线| 欧美日韩中文字幕一区二区| 日韩国产欧美视频| 国产日产亚洲精品系列| 成人福利电影精品一区二区在线观看| 日韩美女视频一区| 精品1区2区3区| 激情综合网激情| 亚洲欧洲国产专区| 在线不卡免费欧美| 成人国产视频在线观看| 亚洲成人av资源| 国产婷婷色一区二区三区四区 | 亚洲精品一区二区三区蜜桃下载| 国产成人精品免费一区二区| 亚洲国产日日夜夜| 国产亚洲一区二区三区在线观看 | 91极品视觉盛宴| 国内成人免费视频| 亚洲国产精品嫩草影院| 国产精品三级av在线播放| 欧美精品久久天天躁| 大尺度一区二区| 麻豆极品一区二区三区| 亚洲图片激情小说| 精品国产区一区| 欧美无人高清视频在线观看| 国产91对白在线观看九色| 亚洲成a人片在线不卡一二三区| 国产亚洲一区二区三区| 制服丝袜在线91| 欧美中文字幕一区二区三区亚洲| 国产精品资源在线看| 香蕉久久一区二区不卡无毒影院 | 秋霞电影一区二区| 亚洲欧美日本韩国| 国产亚洲综合性久久久影院| 精品视频色一区| 色综合夜色一区| 播五月开心婷婷综合| 蜜桃视频一区二区三区 | 蜜臀久久久久久久| 亚洲成人av在线电影| 亚洲图片另类小说| 久久一夜天堂av一区二区三区| 国产99久久久国产精品潘金| 国产美女娇喘av呻吟久久| 亚洲va欧美va人人爽| 亚洲色图丝袜美腿| 中文字幕亚洲电影| 欧美国产精品一区二区| 久久久久久免费毛片精品| 日韩精品一区二区三区四区视频| 欧美日本一区二区| 欧美日韩成人在线一区| 欧美色综合久久| 欧美日韩精品一区二区三区 | 亚洲综合精品自拍| 亚洲精品写真福利| 亚洲另类一区二区| 亚洲一区二区综合| 亚洲一本大道在线| 丝袜美腿亚洲色图| 日韩国产欧美在线视频| 美女在线视频一区| 麻豆精品一区二区| 国产综合成人久久大片91| 狠狠色狠狠色综合系列| 国产精品一区二区在线观看不卡| 国产精品538一区二区在线| 国产成人午夜视频| 91首页免费视频| 欧美日韩视频一区二区| 日韩网站在线看片你懂的| 久久综合狠狠综合久久综合88| 久久先锋影音av| 成人免费在线播放视频| 亚洲精品水蜜桃| 日韩激情在线观看| 国产精品一二三四| 99久久伊人精品| 欧美久久一区二区| 久久夜色精品国产欧美乱极品| 国产日韩欧美高清在线| 亚洲靠逼com| 日av在线不卡| 国产成人日日夜夜| 欧美这里有精品| 日韩精品中文字幕在线一区| 国产精品毛片久久久久久久| 亚洲成人免费在线| 国产99久久久国产精品潘金网站| 色狠狠色噜噜噜综合网| 日韩精品一区二区三区中文不卡 | 欧美伊人精品成人久久综合97| 91精品国产综合久久福利| 中文字幕欧美日韩一区| 午夜精品视频一区| 9人人澡人人爽人人精品| 91精品国产综合久久久久久久久久| 久久久影视传媒| 亚洲综合视频在线| 国产精品一级在线| 欧美日韩一区二区三区四区五区 | 91丨九色porny丨蝌蚪| 日韩免费视频一区| 一区二区在线观看免费| 国产一区在线观看麻豆| 欧美怡红院视频| 国产精品无人区| 久久国产三级精品| 在线免费一区三区| 国产精品麻豆欧美日韩ww| 日韩电影一区二区三区| 色天使色偷偷av一区二区| 久久久久久久久99精品| 视频一区二区中文字幕| 色国产综合视频| 国产精品国产三级国产a| eeuss鲁片一区二区三区 | 国产精品乱人伦| 美女视频免费一区| 欧美日韩成人一区| 一区二区三区四区在线免费观看 | 国产精品视频第一区| 久久国产精品99精品国产| 欧美性一区二区| 亚洲日本乱码在线观看| 成人精品在线视频观看| 精品成a人在线观看| 青青草国产精品97视觉盛宴| 欧美三级资源在线| 亚洲一二三四区| 日本高清无吗v一区| 亚洲天堂福利av| 97se亚洲国产综合自在线不卡| 久久久久9999亚洲精品| 国产一区二区在线观看视频| 日韩欧美一级精品久久| 日本人妖一区二区| 91精品国产综合久久福利 | 成人免费视频网站在线观看| 欧美va亚洲va| 激情五月婷婷综合网| 26uuu另类欧美亚洲曰本| 蜜桃一区二区三区在线观看| 欧美一级电影网站| 激情偷乱视频一区二区三区|