Class TagURI

  extended by org.doomdark.uuid.TagURI

public class TagURI
extends java.lang.Object

A class that allows creation of tagURI instances. TagURIs are specified in IETF draft ; available for example at:

Constructor Summary
TagURI(java.lang.String authority, java.lang.String identifier, java.util.Calendar date)
          Constructor for creating tagURI instances.
Method Summary
 boolean equals(java.lang.Object o)
static void main(java.lang.String[] args)
          A simple test harness is added to make (automated) testing of the class easier.
 java.lang.String toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public TagURI(java.lang.String authority,
              java.lang.String identifier,
              java.util.Calendar date)
Constructor for creating tagURI instances. Typical string representations of tagURIs may look like: (see tagURI draft for more examples and full explanation of the basic concepts)

authority - Authority that created tag URI; usually either a fully-qualified domain name ("") or an email address ("").
identifier - A locally unique identifier; often file path or URL path component (like, "tst.1234567890", "/home/tatu/index.html")
date - Date to add as part of the tag URI, if any; null is used used to indicate that no datestamp should be added.
Method Detail


public java.lang.String toString()
toString in class java.lang.Object


public boolean equals(java.lang.Object o)
equals in class java.lang.Object


public static void main(java.lang.String[] args)
A simple test harness is added to make (automated) testing of the class easier.

Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.