|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.standards.asn.AsnAuthors
public class 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.
Method Summary | |
---|---|
static void |
cacheAuthorsDoc(String srcDir)
Utility to update cached Authors File |
String |
getAuthor(String purl)
Returns a author for a given author purl (e.g., http://purl.org/ASN/scheme/ASNTopic/behavioralStudies) |
static AsnAuthors |
getInstance()
Gets the AsnAuthor instance |
static void |
main(String[] args)
The main program for the AsnAuthors class - runs cacheAuthorsDoc utility. |
void |
report()
NOT YET DOCUMENTED |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static AsnAuthors getInstance() throws Exception
Exception
- NOT YET DOCUMENTEDpublic String getAuthor(String purl)
purl
- NOT YET DOCUMENTED
public static void cacheAuthorsDoc(String srcDir) throws Exception
srcDir
- path to local src directory
Exception
- if file cannot be writtenpublic static void main(String[] args)
args
- The command line argumentspublic void report()
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |