Name

CodatID

Synopsis

A CodatID is formed by the conjuction of a PeerGroupID, a randomly chosen value, and an SHA hash of the codat contents. The derived ID is the unique ID for this codat within the JXTA world. Since some codats may not contain documents, the SHA hash is optional. CodatID objects are created with the IDFactory class.

public abstract class CodatID extends net.jxta.id.ID {
// Public Constructors
   public CodatID();  
// Public Instance Methods
   public abstract net.jxta.id.ID getPeerGroupID();  
   public abstract boolean isStatic();  
}

Passed To

Codat.Codat(), Metadata.Metadata()

Returned By

net.jxta.id.IDFactory.newCodatID(), net.jxta.id.IDFactory.Instantiator.newCodatID()

Get JXTA in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.