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

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

?? internetheaders.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. *//* * @(#)InternetHeaders.java	1.22 07/05/04 */package javax.mail.internet;import java.io.*;import java.util.*;import javax.mail.*;import com.sun.mail.util.LineInputStream;/** * InternetHeaders is a utility class that manages RFC822 style * headers. Given an RFC822 format message stream, it reads lines * until the blank line that indicates end of header. The input stream * is positioned at the start of the body. The lines are stored  * within the object and can be extracted as either Strings or * {@link javax.mail.Header} objects. <p> * * This class is mostly intended for service providers. MimeMessage * and MimeBody use this class for holding their headers. <p> *  * <hr> <strong>A note on RFC822 and MIME headers</strong><p> * * RFC822 and MIME header fields <strong>must</strong> contain only  * US-ASCII characters. If a header contains non US-ASCII characters, * it must be encoded as per the rules in RFC 2047. The MimeUtility * class provided in this package can be used to to achieve this.  * Callers of the <code>setHeader</code>, <code>addHeader</code>, and * <code>addHeaderLine</code> methods are responsible for enforcing * the MIME requirements for the specified headers.  In addition, these * header fields must be folded (wrapped) before being sent if they * exceed the line length limitation for the transport (1000 bytes for * SMTP).  Received headers may have been folded.  The application is * responsible for folding and unfolding headers as appropriate. <p> * * @see	javax.mail.internet.MimeUtility * @author John Mani * @author Bill Shannon */public class InternetHeaders {    /**     * An individual internet header.  This class is only used by     * subclasses of InternetHeaders. <p>     *     * An InternetHeader object with a null value is used as a placeholder     * for headers of that name, to preserve the order of headers.     * A placeholder InternetHeader object with a name of ":" marks     * the location in the list of headers where new headers are     * added by default.     *     * @since	JavaMail 1.4     */    protected static final class InternetHeader extends Header {	/*	 * Note that the value field from the superclass	 * isn't used in this class.  We extract the value	 * from the line field as needed.  We store the line	 * rather than just the value to ensure that we can	 * get back the exact original line, with the original	 * whitespace, etc.	 */	String line;    // the entire RFC822 header "line",			// or null if placeholder	/**	 * Constructor that takes a line and splits out	 * the header name.	 */	public InternetHeader(String l) {	    super("", "");	// XXX - we'll change it later	    int i = l.indexOf(':');	    if (i < 0) {		// should never happen		name = l.trim();	    } else {		name = l.substring(0, i).trim();	    }	    line = l;	}	/**	 * Constructor that takes a header name and value.	 */	public InternetHeader(String n, String v) {	    super(n, "");	    if (v != null)		line = n + ": " + v;	    else		line = null;	}	/**	 * Return the "value" part of the header line.	 */	public String getValue() {	    int i = line.indexOf(':');	    if (i < 0)		return line;	    // skip whitespace after ':'	    int j;	    for (j = i + 1; j < line.length(); j++) {		char c = line.charAt(j);		if (!(c == ' ' || c == '\t' || c == '\r' || c == '\n'))		    break;	    }	    return line.substring(j);	}    }    /*     * The enumeration object used to enumerate an     * InternetHeaders object.  Can return     * either a String or a Header object.     */    static class matchEnum implements Enumeration {	private Iterator e;	// enum object of headers List	// XXX - is this overkill?  should we step through in index	// order instead?	private String names[];	// names to match, or not	private boolean match;	// return matching headers?	private boolean want_line;	// return header lines?	private InternetHeader next_header; // the next header to be returned	/*	 * Constructor.  Initialize the enumeration for the entire	 * List of headers, the set of headers, whether to return	 * matching or non-matching headers, and whether to return	 * header lines or Header objects.	 */	matchEnum(List v, String n[], boolean m, boolean l) {	    e = v.iterator();	    names = n;	    match = m;	    want_line = l;	    next_header = null;	}	/*	 * Any more elements in this enumeration?	 */	public boolean hasMoreElements() {	    // if necessary, prefetch the next matching header,	    // and remember it.	    if (next_header == null)		next_header = nextMatch();	    return next_header != null;	}	/*	 * Return the next element.	 */	public Object nextElement() {	    if (next_header == null)		next_header = nextMatch();	    if (next_header == null)		throw new NoSuchElementException("No more headers");	    InternetHeader h = next_header;	    next_header = null;	    if (want_line)		return h.line;	    else		return new Header(h.getName(), h.getValue());	}	/*	 * Return the next Header object according to the match	 * criteria, or null if none left.	 */	private InternetHeader nextMatch() {	    next:	    while (e.hasNext()) {		InternetHeader h = (InternetHeader)e.next();		// skip "place holder" headers		if (h.line == null)		    continue;		// if no names to match against, return appropriately		if (names == null)		    return match ? null : h;		// check whether this header matches any of the names		for (int i = 0; i < names.length; i++) {		    if (names[i].equalsIgnoreCase(h.getName())) {			if (match)			    return h;			else			    // found a match, but we're			    // looking for non-matches.			    // try next header.			    continue next;		    }		}		// found no matches.  if that's what we wanted, return it.		if (!match)		    return h;	    }	    return null;	}    }    /**     * The actual list of Headers, including placeholder entries.     * Placeholder entries are Headers with a null value and     * are never seen by clients of the InternetHeaders class.     * Placeholder entries are used to keep track of the preferred     * order of headers.  Headers are never actually removed from     * the list, they're converted into placeholder entries.     * New headers are added after existing headers of the same name     * (or before in the case of <code>Received</code> and     * <code>Return-Path</code> headers).  If no existing header     * or placeholder for the header is found, new headers are     * added after the special placeholder with the name ":".     *     * @since	JavaMail 1.4     */    protected List headers;    /**     * Create an empty InternetHeaders object.  Placeholder entries     * are inserted to indicate the preferred order of headers.     */    public InternetHeaders() {    	headers = new ArrayList(40); 	headers.add(new InternetHeader("Return-Path", null));	headers.add(new InternetHeader("Received", null));	headers.add(new InternetHeader("Resent-Date", null));	headers.add(new InternetHeader("Resent-From", null));	headers.add(new InternetHeader("Resent-Sender", null));	headers.add(new InternetHeader("Resent-To", null));	headers.add(new InternetHeader("Resent-Cc", null));	headers.add(new InternetHeader("Resent-Bcc", null));	headers.add(new InternetHeader("Resent-Message-Id", null));	headers.add(new InternetHeader("Date", null));	headers.add(new InternetHeader("From", null));	headers.add(new InternetHeader("Sender", null));	headers.add(new InternetHeader("Reply-To", null));	headers.add(new InternetHeader("To", null));	headers.add(new InternetHeader("Cc", null));	headers.add(new InternetHeader("Bcc", null));	headers.add(new InternetHeader("Message-Id", null));	headers.add(new InternetHeader("In-Reply-To", null));	headers.add(new InternetHeader("References", null));	headers.add(new InternetHeader("Subject", null));	headers.add(new InternetHeader("Comments", null));	headers.add(new InternetHeader("Keywords", null));	headers.add(new InternetHeader("Errors-To", null));	headers.add(new InternetHeader("MIME-Version", null));	headers.add(new InternetHeader("Content-Type", null));	headers.add(new InternetHeader("Content-Transfer-Encoding", null));	headers.add(new InternetHeader("Content-MD5", null));	headers.add(new InternetHeader(":", null));	headers.add(new InternetHeader("Content-Length", null));	headers.add(new InternetHeader("Status", null));    }

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一卡二卡三卡国产欧美| 一区二区三区小说| 欧美成人高清电影在线| 51精品秘密在线观看| 777a∨成人精品桃花网| 欧美一区二区在线视频| 日韩一级黄色大片| 欧美α欧美αv大片| 2023国产精品视频| 久久影院视频免费| 中文字幕欧美区| 亚洲欧洲日韩一区二区三区| 亚洲人成影院在线观看| 夜夜操天天操亚洲| 日韩精品成人一区二区三区| 奇米影视一区二区三区| 激情综合网天天干| 国产成人福利片| 成人h动漫精品一区二区| 99久久亚洲一区二区三区青草| 99久久精品久久久久久清纯| 日本高清视频一区二区| 日本韩国一区二区| 欧美一区二区私人影院日本| 久久综合狠狠综合| 国产精品久久99| 亚洲国产一区二区三区| 蜜桃视频在线观看一区| 国产制服丝袜一区| 99热在这里有精品免费| 欧美色图12p| 日韩欧美电影在线| 欧美极品xxx| 午夜精彩视频在线观看不卡| 韩国av一区二区| 91丨porny丨国产入口| 欧美顶级少妇做爰| 国产精品水嫩水嫩| 性久久久久久久| 国产精品99久久久| 在线视频国内自拍亚洲视频| 日韩精品专区在线| 17c精品麻豆一区二区免费| 亚洲va韩国va欧美va| 国产精品一二三四区| 欧美性大战xxxxx久久久| 日韩午夜激情视频| 亚洲欧洲av另类| 美女任你摸久久| 97精品国产露脸对白| 日韩一区二区三区免费看| 国产精品国产三级国产有无不卡 | 日韩va亚洲va欧美va久久| 国产精品一区专区| 欧美自拍丝袜亚洲| 国产精品情趣视频| 另类小说欧美激情| 欧美视频一二三区| 欧美韩国日本一区| 精品在线视频一区| 欧美日韩一区二区在线观看| 欧美国产97人人爽人人喊| 日本视频在线一区| 欧洲视频一区二区| 欧美激情一区二区三区在线| 美女任你摸久久 | 精品久久一区二区三区| 亚洲精品欧美二区三区中文字幕| 久久精品国产99| 欧美老年两性高潮| 亚洲丝袜另类动漫二区| 国产精品一色哟哟哟| 日韩一级二级三级| 亚洲成人免费观看| 91麻豆国产精品久久| 欧美国产欧美综合| 国产自产v一区二区三区c| 69久久夜色精品国产69蝌蚪网| 亚洲欧美日韩国产综合| 国产mv日韩mv欧美| 精品久久久久久最新网址| 日本午夜精品视频在线观看| 欧美影院午夜播放| 亚洲欧洲99久久| av在线不卡网| 国产精品天美传媒| 成人av第一页| 欧美高清一级片在线观看| 国产精品综合在线视频| 日韩精品最新网址| 日韩高清在线不卡| 欧美一区二区三区免费大片| 亚洲不卡av一区二区三区| 欧美三级一区二区| 亚洲v日本v欧美v久久精品| 欧美日韩中文一区| 亚洲一区二区三区不卡国产欧美| 97aⅴ精品视频一二三区| 国产精品乱码一区二三区小蝌蚪| 国产999精品久久| 国产精品麻豆视频| www.亚洲国产| 国产精品久久久久久久蜜臀| 成人黄色电影在线| 中文字幕字幕中文在线中不卡视频| 成人一区二区三区在线观看| 久久精品视频在线看| 高清不卡在线观看| 中文字幕色av一区二区三区| 91色porny在线视频| 亚洲免费视频成人| 欧美专区亚洲专区| 日韩福利电影在线| 精品国产乱码久久| 国产成人精品网址| 亚洲日本va在线观看| 欧美在线一二三四区| 午夜激情久久久| 2欧美一区二区三区在线观看视频| 国产一区二区三区不卡在线观看| 国产日产欧产精品推荐色| www.一区二区| 五月激情丁香一区二区三区| 日韩视频免费观看高清完整版在线观看| 日本成人在线网站| 国产午夜三级一区二区三| 色综合夜色一区| 偷拍亚洲欧洲综合| 精品久久久久久久久久久久久久久 | 成人夜色视频网站在线观看| 中文字幕一区av| 欧美二区三区91| 粉嫩嫩av羞羞动漫久久久| 亚洲制服欧美中文字幕中文字幕| 欧美一区二区在线不卡| 成人性视频免费网站| 一区二区国产视频| 精品裸体舞一区二区三区| av亚洲精华国产精华精华 | 91麻豆国产在线观看| 日本不卡123| 亚洲国产高清aⅴ视频| 欧美精品日韩一区| 国产精品一区二区在线观看不卡| 亚洲欧洲综合另类| 欧美一级二级三级蜜桃| 成人app网站| 日本亚洲欧美天堂免费| 中文无字幕一区二区三区| 欧美亚洲一区二区在线| 狠狠色丁香九九婷婷综合五月| 亚洲色图欧美激情| 日韩一区二区免费视频| 91在线码无精品| 激情国产一区二区| 亚洲一区中文在线| 国产无人区一区二区三区| 欧美日韩1区2区| 成人妖精视频yjsp地址| 美女性感视频久久| 亚洲欧美日韩国产另类专区| 久久综合狠狠综合久久综合88| 欧美日韩视频专区在线播放| 高清国产一区二区| 久久91精品久久久久久秒播| 一区二区三区日韩在线观看| 日本一区二区三区四区| 欧美久久高跟鞋激| 91丨九色丨黑人外教| 国产成人免费xxxxxxxx| 老司机一区二区| 亚洲成人第一页| 亚洲视频资源在线| 国产午夜亚洲精品理论片色戒| 欧美一区二区三区免费大片| 欧美色综合网站| 99国产精品国产精品久久| 久草精品在线观看| 婷婷成人激情在线网| 亚洲欧美色综合| 国产午夜精品一区二区| 久久综合一区二区| 日韩一区二区三区三四区视频在线观看| 91国偷自产一区二区三区观看| 丁香天五香天堂综合| 韩国中文字幕2020精品| 男女视频一区二区| 香蕉av福利精品导航| 伊人婷婷欧美激情| 中文字幕一区二区三| 国产精品护士白丝一区av| 国产免费成人在线视频| 国产性天天综合网| 久久久久久久综合日本| 精品国产一区二区亚洲人成毛片| 7777精品伊人久久久大香线蕉经典版下载| 欧美亚州韩日在线看免费版国语版| 99re6这里只有精品视频在线观看| 成人激情动漫在线观看| 成人高清免费观看|