org.dlese.dpc.services.asn
Class AsnServiceHelper
java.lang.Object
org.dlese.dpc.services.asn.AsnServiceHelper
public class AsnServiceHelper
- extends Object
Class to read all ASN standards documents in specified directory, and provide access to
their contents, e.g., getAsnDocument, getStandard.
- Author:
- Jonathan Ostwald
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsnServiceHelper
public AsnServiceHelper(String standardsPath)
throws Exception
- Throws:
Exception
getTopic
public String getTopic(String topicPurl)
getAuthor
public String getAuthor(String authorPurl)
getAsnDocument
public AsnDocument getAsnDocument(String author)
getStandard
public AsnStandard getStandard(String author,
String identifier)
getStandard
public AsnStandard getStandard(String identifier)
getAsnDocuments
public List getAsnDocuments()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception