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

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

?? part.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. *//* * @(#)Part.java	1.21 07/05/04 */package javax.mail;import java.io.*;import java.util.Enumeration;import javax.activation.DataHandler;/** * The <code>Part</code> interface is the common base interface for  * Messages and BodyParts. <p> * * Part consists of a set of attributes and a "Content".<p> * * <strong> Attributes: </strong> <p> * * The JavaMail API defines a set of standard Part attributes that are * considered to be common to most existing Mail systems. These * attributes have their own settor and gettor methods. Mail systems  * may support other Part attributes as well, these are represented as  * name-value pairs where both the name and value are Strings.<p> * * <strong> Content: </strong> <p> * * The <strong>data type</strong> of the "content" is returned by * the <code>getContentType()</code> method. The MIME typing system * is used to name data types. <p> * * The "content" of a Part is available in various formats: * <ul> * <li> As a DataHandler - using the <code>getDataHandler()</code> method. * The "content" of a Part is also available through a  * <code>javax.activation.DataHandler</code> object. The DataHandler  * object allows clients to discover the operations available on the * content, and to instantiate the appropriate component to perform * those operations.  * * <li> As an input stream - using the <code>getInputStream()</code> method. * Any mail-specific encodings are decoded before this stream is returned. * * <li> As a Java object - using the <code>getContent()</code> method. * This method returns the "content" as a Java object. * The returned object is of course dependent on the content * itself. In particular, a "multipart" Part's content is always a  * Multipart or subclass thereof.  That is, <code>getContent()</code> on a  * "multipart" type Part will always return a Multipart (or subclass) object. * </ul> * * Part provides the <code>writeTo()</code> method that streams * out its bytestream in mail-safe form suitable for transmission.  * This bytestream is typically an aggregation of the Part attributes * and its content's bytestream. <p> * * Message and BodyPart implement the Part interface. Note that in * MIME parlance, Part models an Entity (RFC 2045, Section 2.4). * * @author John Mani */public interface Part {    /**     * Return the size of the content of this part in bytes.     * Return -1 if the size cannot be determined. <p>     *     * Note that the size may not be an exact measure of the content     * size and may or may not account for any transfer encoding     * of the content. The size is appropriate for display in a      * user interface to give the user a rough idea of the size     * of this part.     *     * @return		size of content in bytes     * @exception	MessagingException     */    public int getSize() throws MessagingException;    /**     * Return the number of lines in the content of this part.      * Return -1 if the number cannot be determined.     *     * Note that this number may not be an exact measure of the      * content length and may or may not account for any transfer      * encoding of the content.      *     * @return		number of lines in the content.     * @exception	MessagingException     */    public int getLineCount() throws MessagingException;    /**     * Returns the Content-Type of the content of this part.     * Returns null if the Content-Type could not be determined. <p>     *     * The MIME typing system is used to name Content-types.     *     * @return		The ContentType of this part     * @exception	MessagingException     * @see		javax.activation.DataHandler     */    public String getContentType() throws MessagingException;    /**     * Is this Part of the specified MIME type?  This method     * compares <strong>only the <code>primaryType</code> and      * <code>subType</code></strong>.     * The parameters of the content types are ignored. <p>     *     * For example, this method will return <code>true</code> when     * comparing a Part of content type <strong>"text/plain"</strong>     * with <strong>"text/plain; charset=foobar"</strong>. <p>     *     * If the <code>subType</code> of <code>mimeType</code> is the     * special character '*', then the subtype is ignored during the     * comparison.     */    public boolean isMimeType(String mimeType) throws MessagingException;    /**     * This part should be presented as an attachment.     * @see #getDisposition     * @see #setDisposition     */    public static final String ATTACHMENT = "attachment";    /**     * This part should be presented inline.     * @see #getDisposition     * @see #setDisposition     */    public static final String INLINE = "inline";    /**     * Return the disposition of this part.  The disposition     * describes how the part should be presented to the user.     * (See RFC 2183.)  The return value should be considered     * without regard to case.  For example: <p>     * <blockquote><pre>     * String disp = part.getDisposition();     * if (disp == null || disp.equalsIgnoreCase(Part.ATTACHMENT))     *	// treat as attachment if not first part     * </pre></blockquote>     *     * @return		disposition of this part, or null if unknown     * @exception	MessagingException     * @see #ATTACHMENT     * @see #INLINE     * @see #getFileName     */    public String getDisposition() throws MessagingException;    /**     * Set the disposition of this part.     *     * @param	disposition	disposition of this part     * @exception	MessagingException     * @exception	IllegalWriteException if the underlying implementation     *			does not support modification of this header     * @exception	IllegalStateException if this Part is obtained     *			from a READ_ONLY folder     * @see #ATTACHMENT     * @see #INLINE     * @see #setFileName     */    public void setDisposition(String disposition) throws MessagingException;    /**     * Return a description String for this part. This typically     * associates some descriptive information with this part.     * Returns null if none is available.     *     * @return		description of this part     * @exception	MessagingException     */    public String getDescription() throws MessagingException;    /**     * Set a description String for this part. This typically     * associates some descriptive information with this part.     *     * @param	description	description of this part     * @exception	MessagingException     * @exception	IllegalWriteException if the underlying implementation     *			does not support modification of this header     * @exception	IllegalStateException if this Part is obtained     *			from a READ_ONLY folder     */    public void setDescription(String description) throws MessagingException;    /**     * Get the filename associated with this part, if possible.     * Useful if this part represents an "attachment" that was     * loaded from a file.  The filename will usually be a simple     * name, not including directory components.     *

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一二三| 国产成人日日夜夜| 亚洲男人的天堂一区二区| 国产欧美一区二区三区鸳鸯浴| 精品久久久三级丝袜| 欧美大白屁股肥臀xxxxxx| 3d成人h动漫网站入口| 欧美一级高清片| 日韩精品中文字幕一区二区三区| 日韩欧美中文字幕精品| 欧美变态tickle挠乳网站| 国产午夜亚洲精品午夜鲁丝片 | 国产精品天天看| 久久精品夜色噜噜亚洲aⅴ| 国产午夜精品福利| 亚洲区小说区图片区qvod| 亚洲一区精品在线| 青青草原综合久久大伊人精品| 国产综合久久久久久久久久久久| 成人中文字幕电影| 一本大道久久a久久综合婷婷| 在线免费亚洲电影| 欧美电影一区二区| 久久综合狠狠综合| 亚洲欧美日本在线| 日韩精品1区2区3区| 国产一二精品视频| 在线亚洲高清视频| 欧美刺激午夜性久久久久久久| 国产欧美一区二区精品性色 | 香蕉成人伊视频在线观看| 青草av.久久免费一区| 国产激情一区二区三区四区| 色婷婷亚洲婷婷| 日韩限制级电影在线观看| 国产亚洲一本大道中文在线| 亚洲福利视频一区| 成人综合婷婷国产精品久久免费| 欧美三级午夜理伦三级中视频| 精品日韩欧美一区二区| 亚洲素人一区二区| 韩国视频一区二区| 欧美午夜精品久久久久久超碰 | 一本色道**综合亚洲精品蜜桃冫| 欧美二区乱c少妇| 中文字幕在线不卡视频| 蜜桃91丨九色丨蝌蚪91桃色| 97超碰欧美中文字幕| 欧美精品一区二区三区高清aⅴ | 国产中文字幕一区| 欧美私模裸体表演在线观看| 国产精品视频线看| 日本伊人精品一区二区三区观看方式| 成人黄色国产精品网站大全在线免费观看| 欧美日本免费一区二区三区| 中文字幕在线一区| 国产乱码精品一区二区三区av| 欧美男男青年gay1069videost| 国产精品国产三级国产a| 国产综合久久久久久久久久久久| 欧美日韩国产另类一区| 一区二区三区在线视频免费| 99久久99久久精品免费看蜜桃| 久久久久久99久久久精品网站| 日本亚洲免费观看| 欧美日韩成人综合在线一区二区| 亚洲免费观看高清完整版在线观看熊| 国产精品一区二区黑丝| 精品久久人人做人人爱| 久久国产福利国产秒拍| 91精品国产综合久久福利软件 | 日韩视频一区二区三区| 亚洲成人av一区二区| 色狠狠一区二区三区香蕉| 中文字幕在线不卡国产视频| 成人av在线资源| 亚洲欧美一区二区在线观看| 成人av电影在线网| 亚洲欧美另类在线| 欧美在线视频全部完| 亚洲v日本v欧美v久久精品| 欧美无乱码久久久免费午夜一区 | 中文欧美字幕免费| 国产**成人网毛片九色| 国产精品麻豆久久久| 99视频一区二区| 一区二区三区加勒比av| 欧美性色aⅴ视频一区日韩精品| 亚洲成a人v欧美综合天堂下载| 欧美日韩不卡在线| 精品无人区卡一卡二卡三乱码免费卡| 精品国产91九色蝌蚪| 国产69精品久久99不卡| 亚洲裸体在线观看| 欧美日韩激情一区二区三区| 美日韩一级片在线观看| 久久综合九色综合欧美就去吻| 成人永久看片免费视频天堂| 亚洲免费观看高清完整版在线 | 久久国产人妖系列| 国产免费成人在线视频| 91精品办公室少妇高潮对白| 亚洲成人av福利| 久久众筹精品私拍模特| 91在线视频在线| 天天综合色天天| 欧美国产禁国产网站cc| 欧美综合视频在线观看| 精品一区二区三区蜜桃| 成人欧美一区二区三区小说| 欧美人动与zoxxxx乱| 国产99一区视频免费| 亚洲综合色噜噜狠狠| 26uuu久久天堂性欧美| 精品少妇一区二区三区日产乱码| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 老色鬼精品视频在线观看播放| 综合激情成人伊人| 中文字幕高清一区| 中文字幕日韩av资源站| 亚洲视频在线一区| 一区二区三区国产精品| 亚洲第一成年网| 性欧美大战久久久久久久久| 爽爽淫人综合网网站| 青青国产91久久久久久| 狠狠色丁香婷综合久久| 国产乱色国产精品免费视频| 国产不卡视频在线观看| 成人av午夜电影| 欧美性高清videossexo| 欧美日本韩国一区| 日韩视频一区在线观看| 久久免费看少妇高潮| 亚洲欧洲av在线| 亚洲一二三区不卡| 麻豆精品一区二区三区| 国产成人av福利| 91精品1区2区| 欧美成人在线直播| 亚洲天堂中文字幕| 香蕉加勒比综合久久| 国产一区二三区| 在线观看亚洲专区| 欧美大白屁股肥臀xxxxxx| 国产精品视频第一区| 亚洲午夜免费电影| 紧缚奴在线一区二区三区| 99re8在线精品视频免费播放| 欧美日本在线观看| 欧美国产激情二区三区| 五月婷婷欧美视频| 国产激情一区二区三区四区| 在线观看亚洲a| 久久久久久久网| 亚洲国产日韩一区二区| 国内偷窥港台综合视频在线播放| 91在线视频官网| 精品日韩在线观看| 亚洲精品国产成人久久av盗摄| 日韩av一级电影| 色综合天天综合网天天看片| 精品国产一二三区| 亚洲在线视频一区| 国产成人精品午夜视频免费| 欧美日韩精品电影| 中文字幕在线视频一区| 另类调教123区| 欧美日韩小视频| 中文字幕一区二区三区乱码在线 | 亚洲一区二区不卡免费| 国产高清亚洲一区| 欧美v亚洲v综合ⅴ国产v| 亚洲一区二区三区自拍| 福利电影一区二区三区| 欧美一级高清大全免费观看| 亚洲一区视频在线| 不卡的电影网站| 久久蜜臀精品av| 喷水一区二区三区| 欧美日韩日本视频| 亚洲欧美日韩在线| 99国产欧美另类久久久精品| 欧美r级在线观看| 美女脱光内衣内裤视频久久网站 | 婷婷一区二区三区| 色婷婷综合激情| 18涩涩午夜精品.www| 国产91精品一区二区麻豆亚洲| 日韩美一区二区三区| 日韩制服丝袜av| 91精品国产综合久久香蕉的特点 | 国产精一区二区三区| 精品国产一区久久| 久久精品国产一区二区三 | 欧美日韩一级黄| 五月综合激情婷婷六月色窝| 精品1区2区3区| 亚洲a一区二区| 91麻豆精品国产91久久久久|