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

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

?? id.java

?? jxta平臺的開發包
?? JAVA
字號:
/* * Copyright (c) 2001 Sun Microsystems, Inc.  All rights reserved. * * 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 the *       Sun Microsystems, Inc. for Project JXTA." *    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. * ==================================================================== * * 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. * * $Id: ID.java,v 1.34 2005/11/21 19:50:58 bondolo Exp $ */package net.jxta.id;import java.net.URI;import java.net.URL;import java.net.MalformedURLException;import java.net.URISyntaxException;/** *  IDs are used to uniquely identify peers, peer groups, pipes and other *  types of objects manipulated by the JXTA APIs. * *  @see net.jxta.id.IDFactory *  @see net.jxta.codat.CodatID *  @see net.jxta.peer.PeerID *  @see net.jxta.peergroup.PeerGroupID *  @see net.jxta.pipe.PipeID *  @see net.jxta.platform.ModuleClassID *  @see net.jxta.platform.ModuleSpecID *  @see <a href="http://spec.jxta.org/nonav/v1.0/docbook/JXTAProtocols.html#ids" target='_blank'>JXTA Protocols Specification : IDs</a> **/public abstract class ID implements java.io.Serializable {        /**     * This defines the URI scheme that we will be using to present JXTA IDs.     * JXTA IDs are encoded for presentation into URIs (see     * {@link <a href="http://www.ietf.org/rfc/rfc2396.txt">IETF RFC 2396 Uniform Resource Identifiers (URI) : Generic Syntax</a>}     * ) as URNs (see     * {@link <a href="http://www.ietf.org/rfc/rfc2141.txt">IETF RFC 2141 Uniform Resource Names (URN) Syntax</a>}     * ).     **/    public static final String URIEncodingName = "urn";        /**     *  This defines the URN Namespace that we will be using to present JXTA IDs.     *  The namespace allows URN resolvers to determine which sub-resolver to use     *  to resolve URN references. All JXTA IDs are presented in this namespace.     **/    public static final String URNNamespace = "jxta";        /**     *	The null ID. The NullID is often used as a placeholder in fields which     *  are uninitialized.     *     *  <p/>This is a singleton within the scope of a VM.     **/    public static final ID nullID = new NullID();        /**     *     * Creates an ID by parsing the given URI.     *     * <p>This convenience factory method works as if by invoking the     * {@link IDFactory#fromURI(URI)} method; any {@link URISyntaxException}     * thrown is caught and wrapped in a new {@link IllegalArgumentException}     * object, which is then thrown.  </p>     *     * <p> This method is provided for use in situations where it is known that     * the given string is a legal ID, for example for ID constants declared     * within in a program, and so it would be considered a programming error     * for the URI not to parse as such.  The {@link IDFactory}, which throws     * {@link URISyntaxException} directly, should be used situations where a     * ID is being constructed from user input or from some other source that     * may be prone to errors.  </p>     *     * @param  fromURI   The URI to be parsed into an ID     * @return The new ID     *     * @throws  NullPointerException     *          If <tt>fromURI</tt> is <tt>null</tt>     *     * @throws  IllegalArgumentException     *          If the given URI is not a valid ID.     **/    public static ID create( URI fromURI ) {        try {            return IDFactory.fromURI( fromURI );        } catch (URISyntaxException badid) {            IllegalArgumentException failure = new IllegalArgumentException();            failure.initCause( badid );            throw failure;        }    }        /**     *  Constructor for IDs. IDs are constructed using the {@link IDFactory} or     *  {@link #create(URI)}.     *     **/    protected ID() {    }        /**     *  Returns a string representation of the ID. This representation should be     *  used primarily for debugging purposes. For most other situations IDs     *  should be externalized as Java URI Objects via {@link #toURI()}.     *     *  <p/>The default implementation is the <code>toString()</code> of the ID     *  represented as a URI.     *     *  @return	String containing the URI     *     **/    public String toString( ) {        return toURI().toString();    }        /**     *  Returns a string identifier which indicates which ID format is     *  used by this ID instance.     *     *  @return	a string identifier which indicates which ID format is     *  used by this ID instance.     **/    public abstract String getIDFormat();        /**     *  Returns an object containing the unique value of the ID. This object     *  must provide implementations of toString(), equals() and hashCode() that     *  are canonical and consistent from run-to-run given the same input values.     *  Beyond this nothing should be assumed about the nature of this object.     *  For some implementations the object returned may be <code>this</code>.     *     *  @return	Object which can provide canonical representations of the ID.     **/    public abstract Object getUniqueValue();        /**     *  Returns a URL representation of the ID. The     *  {@link net.jxta.id.IDFactory JXTA ID Factory} can be used to construct     *  ID Objects from URLs containing JXTA IDs.     *     *  @deprecated URIs are now the prefered way of manipulating IDs     *     *  @see net.jxta.id.IDFactory#fromURL( java.net.URL )     *     *  @return	URL Object containing the URI     **/    public URL getURL( ) {        try {           return IDFactory.jxtaURL( URIEncodingName, "", URNNamespace + ":" + (String) getUniqueValue() );        } catch( MalformedURLException caught ) {            IllegalStateException failure = new IllegalStateException( "Environment incorrectly intialized." );            failure.initCause( caught );            throw failure;        }    }        /**     *  Returns a URI representation of the ID. {@link java.net.URI URIs} are     *  the prefered way of externalizing and presenting JXTA IDs. The     *  {@link net.jxta.id.IDFactory JXTA ID Factory} can be used to construct     *  ID Objects from URIs containing JXTA IDs.     *     *  @see net.jxta.id.IDFactory#fromURI( java.net.URI )     *     *  @return	URI Object containing the URI     **/    public URI toURI( ) {        return URI.create( URIEncodingName + ":" + URNNamespace + ":" + (String) getUniqueValue()  );    }}/** * The NullID is often used as a placeholder in fields which are uninitialized. */final class NullID extends ID {    final static String JXTAFormat = "jxta";        final static String UNIQUEVALUE = "Null";        /**     *  NullID is not intended to be constructed. You should use the     *  {@link ID.nullID} constant instead.     **/    NullID() {    }        /**     *  {@inheritDoc}     **/    public boolean equals( Object target ) {        return (this == target);   // null is only itself.    }        /**     * deserialization has to point back to the singleton in this VM.     */    private Object readResolve() {        return ID.nullID;    }        /**     *  {@inheritDoc}     **/    public String getIDFormat() {        return JXTAFormat;    }        /**     *  {@inheritDoc}     **/    public Object getUniqueValue() {        return getIDFormat() + "-" + UNIQUEVALUE;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久综合色播五月| 国产欧美日本一区视频| 日韩一区二区在线免费观看| 欧美精品tushy高清| 日韩一区二区三区免费看 | 亚洲一区二区三区中文字幕在线| 亚洲区小说区图片区qvod| 亚洲五月六月丁香激情| 日韩电影免费一区| jlzzjlzz欧美大全| 正在播放亚洲一区| 精品国产亚洲在线| 中文字幕制服丝袜成人av| 久久久久久亚洲综合影院红桃| 久久综合色综合88| 国产亚洲成年网址在线观看| 26uuuu精品一区二区| 国产欧美日韩三区| 亚洲图片你懂的| 精品国产精品网麻豆系列 | 亚洲欧美日韩国产一区二区三区 | 国产人成亚洲第一网站在线播放| 亚洲综合激情网| 国产在线观看一区二区| 欧美日韩午夜精品| 亚洲私人黄色宅男| 韩国av一区二区| 欧美乱熟臀69xxxxxx| 亚洲人成人一区二区在线观看 | 亚洲综合色丁香婷婷六月图片| 国产乱人伦精品一区二区在线观看 | 一二三四社区欧美黄| 蜜桃久久av一区| www.亚洲激情.com| 国产亚洲欧美在线| 国产乱一区二区| 久久久久久久国产精品影院| 热久久免费视频| 欧美区一区二区三区| 亚洲色图清纯唯美| 99久久精品99国产精品| 国产精品久久久久影院色老大| 国产最新精品免费| 国产精品丝袜一区| 91啪亚洲精品| 亚洲最大成人综合| 在线不卡免费av| 久久国产精品99精品国产 | 日韩福利视频导航| 日韩一区和二区| 九一久久久久久| 久久久综合精品| 99久久久久久99| 国产精品久久久久久久久晋中| 国模娜娜一区二区三区| 2023国产精华国产精品| 精品一区二区三区日韩| 久久综合精品国产一区二区三区 | 亚洲精品第1页| 欧美午夜寂寞影院| 日本不卡视频在线观看| 日韩欧美电影在线| 国产在线日韩欧美| 中文字幕不卡的av| 色综合久久久久久久久久久| 亚洲一区二区高清| 26uuu亚洲综合色欧美| 成人a级免费电影| 亚洲一区中文在线| 欧美xxxxx牲另类人与| 懂色av一区二区三区免费观看| 亚洲美腿欧美偷拍| 久久综合九色综合久久久精品综合 | 久久精品国产99国产精品| 国产精品免费丝袜| 欧美高清激情brazzers| 亚洲国产另类av| 国产91丝袜在线18| 久久久久久日产精品| 一本到三区不卡视频| 韩国毛片一区二区三区| 一区二区三区欧美| 久久综合av免费| 在线电影一区二区三区| 97久久精品人人澡人人爽| 日韩av电影天堂| 亚洲欧美日韩在线不卡| 久久香蕉国产线看观看99| 欧美日韩精品一二三区| 99精品视频在线观看| 久久精品国产澳门| 亚洲午夜在线电影| 一区二区三区欧美久久| 亚洲精品一区二区三区福利| 欧美久久一二区| 成人av资源站| 美日韩黄色大片| 日韩专区在线视频| 一区二区三区成人| 亚洲青青青在线视频| 亚洲视频免费看| 亚洲欧美色一区| 一区二区三区欧美亚洲| 亚洲欧洲成人av每日更新| 国产目拍亚洲精品99久久精品| 精品日韩欧美一区二区| 精品国产一区二区三区久久久蜜月| 欧美一区二区在线观看| 欧美狂野另类xxxxoooo| 欧美日韩视频在线第一区| 91老师国产黑色丝袜在线| 国产福利不卡视频| 成人app下载| 色婷婷国产精品综合在线观看| 欧美日韩另类国产亚洲欧美一级| 色av成人天堂桃色av| 97se亚洲国产综合自在线| 国产精品99久| 懂色av一区二区三区免费观看| 不卡的av在线播放| 蜜桃传媒麻豆第一区在线观看| 黄一区二区三区| 91在线国产福利| 精品国产乱码久久久久久浪潮 | 久久先锋影音av鲁色资源| 亚洲三级在线观看| 日韩成人av影视| www.欧美亚洲| 777色狠狠一区二区三区| 国产日韩欧美精品一区| 亚洲一区二区视频在线| 人人超碰91尤物精品国产| 国产精品一区免费在线观看| 不卡在线视频中文字幕| 欧美日韩在线一区二区| 精品精品国产高清a毛片牛牛| 亚洲欧美激情视频在线观看一区二区三区 | 8v天堂国产在线一区二区| 国产精品久久久久久久浪潮网站| 视频精品一区二区| 色婷婷精品久久二区二区蜜臀av| 精品成人一区二区三区四区| 一区二区三区在线高清| 国产一区二区在线电影| 色婷婷亚洲精品| **欧美大码日韩| 国产不卡视频在线观看| 日韩天堂在线观看| 蜜臀精品久久久久久蜜臀| 在线视频国内自拍亚洲视频| 精品国产免费一区二区三区香蕉 | 久久婷婷一区二区三区| 日日嗨av一区二区三区四区| 欧美精品九九99久久| 一区二区不卡在线播放 | 国产精品99久久久久久似苏梦涵| 在线观看日韩av先锋影音电影院| 久久免费视频一区| 国产一区二区女| 国产偷v国产偷v亚洲高清| 精品无人区卡一卡二卡三乱码免费卡| 7777精品伊人久久久大香线蕉经典版下载| 亚洲狠狠爱一区二区三区| 在线精品视频一区二区三四| 亚洲精品国产无天堂网2021| 在线观看不卡一区| 亚洲mv在线观看| 精品日韩在线观看| 黄色资源网久久资源365| 国产色婷婷亚洲99精品小说| 成人手机在线视频| 曰韩精品一区二区| 中文字幕一区二区三区精华液 | 一区二区在线观看免费| 欧美亚洲国产怡红院影院| 亚洲一区二区三区四区在线| 日韩欧美中文字幕制服| 国产91在线观看丝袜| 一区二区三区在线看| 欧美蜜桃一区二区三区| 国产黄色成人av| 午夜私人影院久久久久| 国产视频一区在线观看| 91黄色在线观看| 国产精品影音先锋| 亚洲一区二区三区美女| 国产清纯在线一区二区www| 欧美三级视频在线| 国产精品一区二区三区网站| 亚洲成人免费在线| 国产精品久久久久四虎| xvideos.蜜桃一区二区| 欧美日韩国产小视频在线观看| 国产99久久久国产精品免费看| 亚洲国产精品一区二区久久| 成人欧美一区二区三区黑人麻豆| 日韩欧美电影一二三| 欧美另类高清zo欧美| 色综合久久天天综合网| 成人爱爱电影网址|