|
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.codat.CodatID
net.jxta.impl.id.binaryID.CodatBinaryID
public final class CodatBinaryID
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 |
CodatBinaryID()
Used only internally |
|
CodatBinaryID(BinaryID id)
Constructor. |
|
CodatBinaryID(PeerGroupID parent,
byte[] data,
boolean lengthIncluded)
Constructor. |
|
CodatBinaryID(PeerGroupID groupID,
byte[] seed,
InputStream in)
|
|
CodatBinaryID(PeerGroupID groupID,
InputStream in)
|
|
CodatBinaryID(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()
|
ID |
getPeerGroupID()
|
Object |
getUniqueValue()
|
URL |
getURL()
|
int |
hashCode()
|
boolean |
isStatic()
Binary ID only supports static |
Methods inherited from class net.jxta.id.ID |
---|
clone, create, toString, toURI |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String id
Constructor Detail |
---|
protected CodatBinaryID()
public CodatBinaryID(String id)
id
- Value of ID.public CodatBinaryID(BinaryID id)
id
- the ID datapublic CodatBinaryID(PeerGroupID parent, byte[] data, boolean lengthIncluded)
parent
- the group to which this will belong.data
- DOCUMENT ME!lengthIncluded
- DOCUMENT ME!public CodatBinaryID(PeerGroupID groupID, InputStream in)
public CodatBinaryID(PeerGroupID groupID, byte[] seed, InputStream in)
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
public ID getPeerGroupID()
getPeerGroupID
in class CodatID
protected String getID()
public boolean isStatic()
isStatic
in class CodatID
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |