|
Project JXTA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jxta.impl.id.UUID.IDFormat
net.jxta.impl.id.CBID.IDFormat
public class IDFormat
A general purpose JXTA ID Format implementing all of the six standard ID Types. It was originally created for the Java 2 SE reference implementation. The 'cbid' format uses values generated from secure hash functions as the mechanism for generating canonical values for the ids it provides.
ID,
JXTA Protocols Specification : IDs| Field Summary | |
|---|---|
static PeerGroupID |
defaultNetPeerGroupID
Our local version of the net Peer Group ID. |
static IDFactory.URIInstantiator |
INSTANTIATOR
The instantiator for this ID Format which is used by the IDFactory. |
(package private) static Object[][] |
wellKnownIDs
This table maps our local private versions of the well known ids to the globally known version. |
static PeerGroupID |
worldPeerGroupID
Our local version of the world Peer Group ID. |
| Fields inherited from class net.jxta.impl.id.UUID.IDFormat |
|---|
flagCodatID, flagModuleClassID, flagModuleSpecID, flagPeerGroupID, flagPeerID, flagPipeID, flagsIdTypeOffset, flagsOffset, flagsSize, IdByteArraySize, uuidSize |
| Constructor Summary | |
|---|---|
protected |
IDFormat()
This class cannot be instantiated. |
| Method Summary | |
|---|---|
protected static URL |
getURL(String uniqueValue)
Public member which returns a URI (URL in Java nomenclature) of the ID. |
protected static URI |
toURI(String uniqueValue)
Public member which returns a URI (URL in Java nomenclature) of the ID. |
(package private) static ID |
translateFromWellKnown(ID input)
Translate from well known ID to our locally encoded versions. |
(package private) static ID |
translateToWellKnown(ID input)
Translate from locally encoded versions to the well known versions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final PeerGroupID worldPeerGroupID
public static final PeerGroupID defaultNetPeerGroupID
static final Object[][] wellKnownIDs
public static final IDFactory.URIInstantiator INSTANTIATOR
| Constructor Detail |
|---|
protected IDFormat()
| Method Detail |
|---|
static ID translateFromWellKnown(ID input)
input - the id to be translated.
static ID translateToWellKnown(ID input)
input - the id to be translated.
protected static URL getURL(String uniqueValue)
uniqueValue - the unique portion of the ID
protected static URI toURI(String uniqueValue)
uniqueValue - the unique portion of the ID
|
JXTA J2SE | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||