public class TagURI extends Object
| Constructor and Description |
|---|
TagURI(String authority,
String identifier,
Calendar date)
Constructor for creating tagURI instances.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static void |
main(String[] args)
A simple test harness is added to make (automated) testing of the
class easier.
|
String |
toString() |
public TagURI(String authority, String identifier, 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.