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

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

?? multipart_mixed.java

?? 此源碼是在sun站點上提供的javamail基礎上改進。用來解決中文郵件或很多國際間郵件亂碼問題。版權屬于sun公司。不過當你開發webmail程序時做郵件展示時
?? JAVA
字號:
/*
 * 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.
 */

/*
 * @(#)multipart_mixed.java	1.12 07/05/04
 */
package com.sun.mail.handlers;

import java.io.*;
import java.awt.datatransfer.DataFlavor;
import javax.activation.*;
import javax.mail.MessagingException;
import javax.mail.internet.*;


public class multipart_mixed implements DataContentHandler {
    private ActivationDataFlavor myDF = new ActivationDataFlavor(
	    javax.mail.internet.MimeMultipart.class,
	    "multipart/mixed", 
	    "Multipart");

    /**
     * Return the DataFlavors for this <code>DataContentHandler</code>.
     *
     * @return The DataFlavors
     */
    public DataFlavor[] getTransferDataFlavors() { // throws Exception;
	return new DataFlavor[] { myDF };
    }

    /**
     * Return the Transfer Data of type DataFlavor from InputStream.
     *
     * @param df The DataFlavor
     * @param ins The InputStream corresponding to the data
     * @return String object
     */
    public Object getTransferData(DataFlavor df, DataSource ds)
				throws IOException {
	// use myDF.equals to be sure to get ActivationDataFlavor.equals,
	// which properly ignores Content-Type parameters in comparison
	if (myDF.equals(df))
	    return getContent(ds);
	else
	    return null;
    }
    
    /**
     * Return the content.
     */
    public Object getContent(DataSource ds) throws IOException {
	try {
	    return new MimeMultipart(ds); 
	} catch (MessagingException e) {
	    IOException ioex =
		new IOException("Exception while constructing MimeMultipart");
	    ioex.initCause(e);
	    throw ioex;
	}
    }
    
    /**
     * Write the object to the output stream, using the specific MIME type.
     */
    public void writeTo(Object obj, String mimeType, OutputStream os) 
			throws IOException {
	if (obj instanceof MimeMultipart) {
	    try {
		((MimeMultipart)obj).writeTo(os);
	    } catch (MessagingException e) {
		throw new IOException(e.toString());
	    }
	}
    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
岛国精品在线播放| 欧美性感一区二区三区| eeuss影院一区二区三区| 色一情一乱一乱一91av| 日韩一级黄色片| 亚洲欧美偷拍卡通变态| 精品一区二区精品| 在线观看网站黄不卡| 久久久亚洲高清| 日本不卡一二三| 色婷婷精品大在线视频| 国产片一区二区三区| 日日噜噜夜夜狠狠视频欧美人| 粉嫩aⅴ一区二区三区四区五区| 欧美性猛片xxxx免费看久爱| 国产婷婷色一区二区三区| 日韩中文字幕91| 欧美天堂一区二区三区| 国产精品福利av| 国产激情一区二区三区桃花岛亚洲| 色94色欧美sute亚洲线路一ni| 国产亚洲精品资源在线26u| 久久国产成人午夜av影院| 色哟哟在线观看一区二区三区| 中文字幕精品在线不卡| 国产一区二区0| 精品国产网站在线观看| 美日韩一区二区三区| 日韩一区二区三区视频在线| 视频一区欧美精品| 欧美年轻男男videosbes| 一区二区三区在线播| 91丨porny丨国产入口| 亚洲欧洲一区二区三区| 99久久精品一区二区| 自拍偷拍亚洲激情| 91蜜桃在线观看| 一区二区三区四区国产精品| 色偷偷一区二区三区| 一区二区三区鲁丝不卡| jizz一区二区| 亚洲愉拍自拍另类高清精品| 欧美色视频一区| 日韩精品一区第一页| 精品精品欲导航| 国产乱国产乱300精品| 国产三级精品在线| 97se亚洲国产综合在线| 一区二区久久久| 欧美久久久久久久久| 久久99深爱久久99精品| 久久中文娱乐网| a美女胸又www黄视频久久| 亚洲精品老司机| 91麻豆精品国产91久久久 | 日日夜夜精品视频免费| 日韩视频一区二区三区在线播放 | 国产精品成人一区二区艾草| www.在线欧美| 午夜精品久久久久久久久| 日韩欧美成人午夜| 不卡av免费在线观看| 亚洲一区二区三区在线播放| 日韩一卡二卡三卡四卡| 成人小视频免费在线观看| 亚洲一二三四区不卡| 精品久久免费看| 91蜜桃视频在线| 美腿丝袜一区二区三区| 中文字幕在线不卡一区二区三区| 欧美羞羞免费网站| 国产一区二区三区四| 悠悠色在线精品| 国产视频911| 欧美日韩1区2区| 不卡影院免费观看| 免费亚洲电影在线| 中文字幕第一区| 日韩一二三区视频| 91蜜桃在线观看| 国产麻豆一精品一av一免费 | 精品国产一区二区三区久久久蜜月| 国产精品自拍一区| 亚洲成人免费在线观看| 国产偷国产偷亚洲高清人白洁 | 成人午夜激情视频| 青青草国产精品亚洲专区无| 1024精品合集| 久久精品免费在线观看| 337p亚洲精品色噜噜噜| 91麻豆123| 成人免费黄色在线| 国产毛片精品视频| 美女网站视频久久| 亚洲mv大片欧洲mv大片精品| 亚洲色图视频免费播放| 国产亚洲成aⅴ人片在线观看| 欧美精品亚洲二区| 在线免费一区三区| 成人av电影免费在线播放| 久久av中文字幕片| 人人精品人人爱| 天堂va蜜桃一区二区三区漫画版| 亚洲女同ⅹxx女同tv| 国产精品视频观看| 欧美国产一区在线| 国产色爱av资源综合区| 精品乱码亚洲一区二区不卡| 777久久久精品| 777午夜精品视频在线播放| 欧美日韩你懂的| 欧美日韩一本到| 欧美精品vⅰdeose4hd| 欧美日韩一区中文字幕| 欧美日韩高清一区二区三区| 在线免费观看一区| 欧美日韩日日骚| 欧美一区二区二区| 日韩视频不卡中文| 精品久久久网站| 久久亚洲一区二区三区明星换脸| 精品国产免费人成电影在线观看四季| 制服丝袜亚洲网站| 日韩欧美一级精品久久| 精品欧美乱码久久久久久1区2区| 欧美一区二区私人影院日本| 日韩一区二区三区电影| 精品国产露脸精彩对白| 国产亚洲欧美在线| 亚洲日本一区二区三区| 亚洲综合精品久久| 日本在线观看不卡视频| 国产综合一区二区| 丁香婷婷综合网| 91影院在线免费观看| 欧美在线播放高清精品| 91精品久久久久久久久99蜜臂| 欧美tk—视频vk| 国产精品日产欧美久久久久| 成人免费小视频| 日韩电影在线看| 韩国成人在线视频| 91免费国产在线| 日韩欧美中文一区| 国产精品卡一卡二卡三| 亚洲成人激情av| 国产高清亚洲一区| 欧美在线短视频| 久久夜色精品一区| 亚洲一区免费观看| 国产综合久久久久久鬼色| 99麻豆久久久国产精品免费优播| 欧美性猛交一区二区三区精品| 日韩欧美一级二级三级久久久 | 欧美一区二区三区啪啪| 久久久久久久综合日本| 一区二区三区日韩在线观看| 精品一区二区在线观看| 色综合久久综合中文综合网| 欧美人与性动xxxx| 欧美极品另类videosde| 午夜视频一区二区三区| eeuss鲁片一区二区三区| 日韩欧美亚洲一区二区| 亚洲精品中文在线影院| 国内精品不卡在线| 欧美日韩免费一区二区三区| 亚洲国产精品99久久久久久久久| 日韩激情中文字幕| 日本精品视频一区二区| 久久精品一区二区三区av| 亚洲第一成人在线| 99久久免费视频.com| www日韩大片| 日韩**一区毛片| 91国产视频在线观看| 中文字幕av一区二区三区高| 人人超碰91尤物精品国产| 在线观看一区二区视频| 国产精品美女久久久久久 | 99久久婷婷国产综合精品电影| 日韩免费一区二区| 午夜精品久久一牛影视| 色婷婷av一区二区三区软件| 中文字幕av资源一区| 国产麻豆视频一区| 亚洲精品一区二区三区精华液| 天天做天天摸天天爽国产一区| 一本色道a无线码一区v| 一区二区中文字幕在线| 成人av小说网| 亚洲国产成人在线| 国产成人在线视频网址| 久久久99免费| 国产综合一区二区| 久久久久久久久久电影| 国产精品一区二区男女羞羞无遮挡| 日韩精品一区二区三区视频 | 日韩一区二区三区在线视频| 亚洲成人免费电影|