|
Project JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.id.ID
net.jxta.impl.id.unknown.ID
public final class ID
IDs are used to uniquely identify peers, peer groups, pipes and other types of objects manipulated by the JXTA APIs.
IDFactory
,
CodatID
,
PeerID
,
PeerGroupID
,
PipeID
,
ModuleClassID
,
ModuleSpecID
,
Serialized FormField Summary | |
---|---|
(package private) String |
unqiueValue
|
Fields inherited from class net.jxta.id.ID |
---|
nullID, URIEncodingName, URNNamespace |
Constructor Summary | |
---|---|
ID(String value)
Constructor for IDs. |
Method Summary | |
---|---|
boolean |
equals(Object target)
|
String |
getIDFormat()
|
Object |
getUniqueValue()
|
URL |
getURL()
|
(package private) static URL |
getURL(String uniqueValue)
Public member which returns a URI (URL in Java nomenclature) of the ID. |
int |
hashCode()
|
URI |
toURI()
|
Methods inherited from class net.jxta.id.ID |
---|
clone, create, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
String unqiueValue
Constructor Detail |
---|
ID(String value)
Method Detail |
---|
public boolean equals(Object target)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getIDFormat()
getIDFormat
in class ID
public Object getUniqueValue()
getUniqueValue
in class ID
public URL getURL()
getURL
in class ID
static URL getURL(String uniqueValue)
uniqueValue
- the unique portion of the ID
public URI toURI()
toURI
in class ID
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |