public class TagURI
extends java.lang.Object
Constructor and Description |
---|
TagURI(java.lang.String authority,
java.lang.String identifier,
java.util.Calendar date)
Constructor for creating tagURI instances.
|
public TagURI(java.lang.String authority, java.lang.String identifier, java.util.Calendar date)
authority
- Authority that created tag URI; usually either a
fully-qualified domain name ("www.w3c.org") or an email address
("tatu.saloranta@iki.fi").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.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)