Package org.dlese.dpc.standards.asn
Class AsnAuthors
java.lang.Object
org.dlese.dpc.standards.asn.AsnAuthors
Class to read the ASN authors document from ASN web service and provide
author lookup by author purl. In event ASN webservice is not available, used
cached version.
- Author:
- Jonathan Ostwald
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheAuthorsDoc(String srcDir) Utility to update cached Authors FileReturns a author for a given author purl (e.g., http://purl.org/ASN/scheme/ASNTopic/behavioralStudies)static AsnAuthorsGets the AsnAuthor instancestatic voidThe main program for the AsnAuthors class - runs cacheAuthorsDoc utility.voidreport()NOT YET DOCUMENTED
-
Method Details
-
getInstance
Gets the AsnAuthor instance- Returns:
- The instance value
- Throws:
Exception- NOT YET DOCUMENTED
-
getAuthor
Returns a author for a given author purl (e.g., http://purl.org/ASN/scheme/ASNTopic/behavioralStudies)- Parameters:
purl- NOT YET DOCUMENTED- Returns:
- The author value
-
cacheAuthorsDoc
Utility to update cached Authors File- Parameters:
srcDir- path to local src directory- Throws:
Exception- if file cannot be written
-
main
The main program for the AsnAuthors class - runs cacheAuthorsDoc utility.- Parameters:
args- The command line arguments
-
report
public void report()NOT YET DOCUMENTED
-