Project JXTA

net.jxta.impl.id.binaryID
Class BinaryIDFactory

java.lang.Object
  extended by net.jxta.impl.id.binaryID.BinaryIDFactory

public class BinaryIDFactory
extends Object

A BinaryIDFactory generates a BinaryID id. BinaryIDs are used to uniquely identify objects such as peers, peer groups and pipes.

Author:
Daniel Brookshier turbogeek@cluck.com
See Also:
net.jxta.impl.id.binary.BinaryID, ID

Constructor Summary
BinaryIDFactory()
           
 
Method Summary
static BinaryID newBinaryID(byte type, byte[] data, boolean lengthIncluded)
          Returns a new BinaryID value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryIDFactory

public BinaryIDFactory()
Method Detail

newBinaryID

public static BinaryID newBinaryID(byte type,
                                   byte[] data,
                                   boolean lengthIncluded)
Returns a new BinaryID value.

Returns:
BinaryID returns a BinaryID.

JXTA J2SE