|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.id.binaryID.IDFormat
public class IDFormat
The 'BinaryID' format is a general purpose JXTA ID Format. It implements all of the six standard ID types. It was originally created for the Java 2 SE reference implementation. The 'BinaryID' format uses randomly generated BinaryIDs as the mechanism for generating canonical values for the ids it provides.
Field Summary | |
---|---|
static Instantiator |
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. |
Method Summary | |
---|---|
static String |
childGroup(PeerGroupID peerGroupID)
Utility method used to strip only the most significant peer group 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 |
---|
static final Object[][] wellKnownIDs
public static final Instantiator INSTANTIATOR
Method Detail |
---|
static ID translateFromWellKnown(ID input)
input
- the id to be translated.
static ID translateToWellKnown(ID input)
input
- the id to be translated.
public static String childGroup(PeerGroupID peerGroupID)
peerGroupID
- Peer group ID to pull the child from.
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |