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

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

?? handler.java

?? JXTA&#8482 is a set of open, generalized peer-to-peer (P2P) protocols that allow any networked devi
?? JAVA
字號:
/* * Copyright (c) 2001-2007 Sun Microsystems, Inc.  All rights reserved. *   *  The Sun Project JXTA(TM) Software License *   *  Redistribution and use in source and binary forms, with or without  *  modification, are permitted provided that the following conditions are met: *   *  1. Redistributions of source code must retain the above copyright notice, *     this list of conditions and the following disclaimer. *   *  2. Redistributions in binary form must reproduce the above copyright notice,  *     this list of conditions and the following disclaimer in the documentation  *     and/or other materials provided with the distribution. *   *  3. The end-user documentation included with the redistribution, if any, must  *     include the following acknowledgment: "This product includes software  *     developed by Sun Microsystems, Inc. for JXTA(TM) technology."  *     Alternately, this acknowledgment may appear in the software itself, if  *     and wherever such third-party acknowledgments normally appear. *   *  4. The names "Sun", "Sun Microsystems, Inc.", "JXTA" and "Project JXTA" must  *     not be used to endorse or promote products derived from this software  *     without prior written permission. For written permission, please contact  *     Project JXTA at http://www.jxta.org. *   *  5. Products derived from this software may not be called "JXTA", nor may  *     "JXTA" appear in their name, without prior written permission of Sun. *   *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, *  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND  *  FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SUN  *  MICROSYSTEMS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,  *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT  *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,  *  OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF  *  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING  *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,  *  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *   *  JXTA is a registered trademark of Sun Microsystems, Inc. in the United  *  States and other countries. *   *  Please see the license information page at : *  <http://www.jxta.org/project/www/license.html> for instructions on use of  *  the license in source files. *   *  ==================================================================== *   *  This software consists of voluntary contributions made by many individuals  *  on behalf of Project JXTA. For more information on Project JXTA, please see  *  http://www.jxta.org. *   *  This license is based on the BSD license adopted by the Apache Foundation.  */package sun.net.www.protocol.urn;import java.net.URL;import java.net.URLConnection;import java.net.URLStreamHandler;import java.io.IOException;/** * Handler for URN * * @deprecated Use the URI interfaces for JXTA IDs instead of the URLs. */@Deprecatedpublic final class Handler extends URLStreamHandler {        public static Handler handler = new Handler();        /**     * Creates new Handler     **/    public Handler() {}        /**     *     **/    @Override    public URLConnection openConnection(URL connect) throws                IOException {        return null;    }        /**     *     *  Private replacement for toHexString since we need the leading 0 digits.     *  Returns a String containing byte value encoded as 2 hex characters.     *     *  @param  theByte a byte containing the value to be encoded.     *  @return	String containing byte value encoded as 2 hex characters.     */    private static String toHexDigits(byte theByte) {        final char[] HEXDIGITS = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' };        StringBuilder result = new StringBuilder(2);                result.append(HEXDIGITS[(theByte >>> 4) & 15]);        result.append(HEXDIGITS[theByte & 15]);                return result.toString();    }        /**     *     * 2.4 of RFC2141 says we have to encode these chars.     *     **/    static final String needsEncoding = "%/?#" + "\\\"&<>[]^`{|}~";        /**     *     * The byte values of the chars we have to encode.     *     **/    static final byte[] encodesTo = new byte[] {        0x25, 0x2F, 0x3F, 0x23, 0x5c, 0x22, 0x26, 0x3C, 0x3E, 0x5B, 0x5D, 0x5E, 0x60, 0x7B, 0x7C, 0x7D, 0x7E    };        /**     *  Encode a string such that it is in a form acceptable for presentation     *  as a URN. First the string is encoded as UTF8 so that any high byte     *  unicode chars are ascii representable. Then any special characters in     *  the string are escaped using the URN % syntax.     *     *  @param source   the string to encode     *  @return String containing the URN acceptable presentation form.     **/    public static String encodeURN(String source) {        String asISO8559_1 = null;                try {            // first we get its bytes using UTF to encode its characters.            byte[] asBytes = source.getBytes("UTF8");                        // then read it back in as ISO-8859-1. This allows us to see the            // bytes with no translation. This string will have chars in the            // range 0-255 only.            asISO8559_1 = new String(asBytes, "ISO-8859-1");        } catch (java.io.UnsupportedEncodingException never) {            // these 2 encodings are required by all java implementations            // so this exception will never happen.            ;        }                StringBuilder result = new StringBuilder(asISO8559_1.length());                // now do the % encoding for all chars which need it.        for (int eachChar = 0; eachChar < asISO8559_1.length(); eachChar++) {            char aChar = asISO8559_1.charAt(eachChar);                        // null char is bad            if (0 == aChar) {                throw new IllegalArgumentException("URN string cannot contain null char");            }                        // in the excluded range            if ((aChar <= 32) || (aChar >= 127)) {                result.append('%');                result.append(toHexDigits((byte) aChar));            } else {                int inSpecials = needsEncoding.indexOf(aChar);                                // one of the special chars which must be encoded?                if (-1 != inSpecials) {                    result.append('%');                    result.append(toHexDigits(encodesTo[inSpecials]));                } else {                    result.append(aChar);                } // needed no encoding            }        }                return result.toString();    }        /**     *  Converts a string which was previously conveted to URN format back into     *  the unencoded format.     *     *  @param source   the string to decode     *  @return String containing the decoded form of the URN.     **/    public static String decodeURN(String source) {        StringBuilder result = new StringBuilder(source.length());        // remove the % encoding for all chars which needed it.        for (int eachChar = 0; eachChar < source.length(); eachChar++) {            char aChar = source.charAt(eachChar);            if ('%' != aChar) {                result.append(aChar);            } else {                String twoChars = source.substring(eachChar + 1, eachChar + 3);                result.append((char) Integer.parseInt(twoChars, 16));                eachChar += 2;            }        }        String fromUTF8 = null;        try {            // first we get its bytes using ISO-8859-1 to encode its characters.            // ISO-8859-1 does no mapping. Each byte is the same as the character.            byte[] asBytes = result.toString().getBytes("ISO-8859-1");            // then read it back in as UTF8. This gets us any high byte chars back            fromUTF8 = new String(asBytes, "UTF8");        } catch (java.io.UnsupportedEncodingException never) {            // these 2 encodings are required so this exception will never happen            ;        }        return fromUTF8;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚洲图片小说| 欧美极品另类videosde| www国产精品av| 亚洲人成人一区二区在线观看| 日本中文字幕一区二区视频| 高清shemale亚洲人妖| 欧美日韩久久久久久| 欧美伊人久久大香线蕉综合69| 免费成人深夜小野草| 秋霞影院一区二区| 久久69国产一区二区蜜臀 | 国内精品伊人久久久久av一坑| 日本中文一区二区三区| 蜜臀精品久久久久久蜜臀| 美女视频免费一区| 国产一区二区三区精品视频| 国产成人啪免费观看软件 | 国产精品一区二区黑丝| 国产成a人无v码亚洲福利| 岛国一区二区三区| 91麻豆免费视频| 欧美日韩亚洲综合| 欧美成人aa大片| 欧美国产日韩在线观看| 亚洲精品国产成人久久av盗摄| 亚洲综合999| 久久精品国产第一区二区三区| 激情另类小说区图片区视频区| 国产91精品精华液一区二区三区 | 亚洲大型综合色站| 男男视频亚洲欧美| 风间由美中文字幕在线看视频国产欧美| 国产福利一区二区三区| 91视频www| 日韩亚洲欧美一区| 亚洲欧美综合网| 日韩不卡一二三区| 亚洲主播在线播放| 国产91丝袜在线播放0| 日本一区二区视频在线| 成人激情电影免费在线观看| 欧美国产国产综合| 95精品视频在线| 曰韩精品一区二区| 欧美日韩精品综合在线| 奇米888四色在线精品| 欧美成人一级视频| 国产ts人妖一区二区| 国产精品久久99| 在线观看视频欧美| 午夜激情一区二区三区| 日韩欧美一二三四区| 久久99国产乱子伦精品免费| 五月天激情综合| 7777精品伊人久久久大香线蕉完整版| 日本一区中文字幕| 国产人久久人人人人爽| 99re这里只有精品首页| 亚洲韩国精品一区| 精品噜噜噜噜久久久久久久久试看| 国内精品不卡在线| 亚洲欧洲日韩av| 欧美日韩一区不卡| 国内精品国产成人国产三级粉色| 国产精品色一区二区三区| 一本大道久久a久久精二百| 日韩精品1区2区3区| 国产欧美日韩在线观看| 日本精品裸体写真集在线观看| 日韩在线播放一区二区| 久久蜜桃av一区精品变态类天堂 | 国产成人精品一区二区三区网站观看| 中文字幕在线观看不卡| 欧美日韩一区不卡| 国产成人在线影院| 亚洲电影在线播放| 国产日韩精品视频一区| 欧美日本免费一区二区三区| 国产制服丝袜一区| 国产a精品视频| 亚洲综合色在线| 久久久精品国产免大香伊 | 日韩小视频在线观看专区| 高清beeg欧美| 精品一区二区三区视频在线观看 | 日韩精品一区二区三区视频在线观看| 高清国产一区二区| 美女爽到高潮91| 亚洲六月丁香色婷婷综合久久 | 久久久三级国产网站| 国产精品美日韩| 波多野结衣亚洲一区| 1区2区3区精品视频| 日本高清不卡视频| 婷婷国产v国产偷v亚洲高清| 欧美一区二区久久| 国产专区综合网| 国产精品美女久久久久久久网站| 91猫先生在线| 五月天中文字幕一区二区| 欧美一区二区三区的| 狠狠色伊人亚洲综合成人| 日本一区免费视频| 欧美午夜理伦三级在线观看| 免费观看91视频大全| 国产午夜一区二区三区| 色综合中文字幕国产| 日韩理论在线观看| 国产麻豆9l精品三级站| 日本sm残虐另类| 日韩精品欧美精品| 日韩影院在线观看| 秋霞电影一区二区| 日本欧美一区二区| 奇米一区二区三区av| 美国欧美日韩国产在线播放| 日本不卡在线视频| 久久精品国产一区二区三 | 国产成人综合在线| 国产精品亚洲一区二区三区妖精| 欧美aaaaaa午夜精品| 欧美a一区二区| 精久久久久久久久久久| 国产一区二区三区免费播放 | 欧美日韩aaa| 五月天中文字幕一区二区| 综合久久久久久久| 中文字幕一区二区三区av| 国产三级一区二区三区| 国产蜜臀av在线一区二区三区| 国产亚洲短视频| 日韩一区日韩二区| 亚洲综合在线五月| 午夜精品久久一牛影视| 欧美一区二区三区四区在线观看 | 91精品国产综合久久蜜臀 | 亚洲国产日韩综合久久精品| 国产欧美一区二区精品久导航 | 99久久精品国产毛片| 国产最新精品免费| 日本aⅴ亚洲精品中文乱码| 亚洲综合激情网| 亚洲三级理论片| 国产精品美女久久久久aⅴ| 精品国产区一区| 日韩一区二区三区高清免费看看| 精品视频在线免费| 色先锋aa成人| 99久久婷婷国产| 不卡免费追剧大全电视剧网站| 国产毛片一区二区| 精品在线免费视频| 精品一区二区三区在线播放视频| 日韩av电影免费观看高清完整版| 一区二区三区高清在线| 亚洲精品网站在线观看| 国产在线乱码一区二区三区| 精品无人码麻豆乱码1区2区 | 色999日韩国产欧美一区二区| 欧美电影一区二区| 国产精品系列在线| 日韩精品欧美精品| 99久久精品一区| 精品国产第一区二区三区观看体验| 亚洲一二三区视频在线观看| 亚洲午夜久久久久中文字幕久| 亚洲国产成人av| 婷婷久久综合九色综合绿巨人 | 中文字幕字幕中文在线中不卡视频| 午夜伊人狠狠久久| 成人久久久精品乱码一区二区三区 | 欧美精选一区二区| 色狠狠综合天天综合综合| 欧美视频一区二区三区在线观看| 欧美午夜在线一二页| 日韩一级精品视频在线观看| 亚洲精品一区二区三区蜜桃下载| 欧美xxxxx牲另类人与| 亚洲嫩草精品久久| 国产毛片精品国产一区二区三区| 欧美日韩一卡二卡| 一区二区三区蜜桃| 99久久婷婷国产综合精品| 久久久综合九色合综国产精品| 首页国产欧美久久| 色综合久久久久久久| 国产成人超碰人人澡人人澡| 国产成人免费视| 在线免费精品视频| 久久久无码精品亚洲日韩按摩| 亚洲人成网站在线| 麻豆91在线播放| 91色视频在线| 欧美精品一区二区三区一线天视频| 国产精品不卡在线| 捆绑调教美女网站视频一区| 成人av在线一区二区| 日韩你懂的电影在线观看| 亚洲日本在线a| 久久99国产乱子伦精品免费|