|
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.pipe.PipeID
net.jxta.impl.id.binaryID.PipeBinaryID
public final class PipeBinaryID
This class implements a Pipe ID. Each pipe is assigned a unique id.
ID
,
IDFactory
,
PeerGroupID
,
Serialized FormField Summary | |
---|---|
protected String |
id
The id data |
Fields inherited from class net.jxta.id.ID |
---|
nullID, URIEncodingName, URNNamespace |
Constructor Summary | |
---|---|
protected |
PipeBinaryID()
Used only internally |
(package private) |
PipeBinaryID(BinaryID id)
Constructor. |
|
PipeBinaryID(PeerGroupID parent,
byte[] data,
boolean lengthIncluded)
Constructor. |
protected |
PipeBinaryID(String id)
Creates a ID from a string. |
Method Summary | |
---|---|
boolean |
equals(Object target)
|
protected String |
getID()
returns the coded ID without the binaryid tag. |
String |
getIDFormat()
Returns a string identifier which indicates which ID format is used by this ID instance. |
ID |
getPeerGroupID()
Returns PeerGroupID of the Peer Group to which this Pipe ID belongs. |
Object |
getUniqueValue()
Returns an object containing the unique value of the ID. |
int |
hashCode()
|
Methods inherited from class net.jxta.pipe.PipeID |
---|
create, intern |
Methods inherited from class net.jxta.id.ID |
---|
getURL, toString, toURI |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String id
Constructor Detail |
---|
protected PipeBinaryID()
protected PipeBinaryID(String id)
id
- Value of ID.PipeBinaryID(BinaryID id)
id
- the ID datapublic PipeBinaryID(PeerGroupID parent, byte[] data, boolean lengthIncluded)
parent
- the group to which this will belong.data
- DOCUMENT ME!lengthIncluded
- DOCUMENT ME!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()
this
.
getUniqueValue
in class ID
public ID getPeerGroupID()
getPeerGroupID
in class PipeID
protected String getID()
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |