DLESE Tools
v1.6.0

org.dlese.dpc.standards.asn
Class AsnTopics

java.lang.Object
  extended by org.dlese.dpc.standards.asn.AsnTopics

public class AsnTopics
extends Object

Class to read the ASN topics document and provide topic lookup by topic purl.

Author:
Jonathan Ostwald

Method Summary
static AsnTopics getInstance()
          Gets the AsnTopic instance
 String getTopic(String purl)
          Returns a topic for a given topic purl (e.g., http://purl.org/ASN/scheme/ASNTopic/behavioralStudies)
 Map getTopicMap()
          Returns a mapping from topic purl to topic label
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static AsnTopics getInstance()
                             throws Exception
Gets the AsnTopic instance

Returns:
The instance value
Throws:
Exception - if topicURL cannot be processed

getTopic

public String getTopic(String purl)
Returns a topic for a given topic purl (e.g., http://purl.org/ASN/scheme/ASNTopic/behavioralStudies)

Parameters:
purl - NOT YET DOCUMENTED
Returns:
The topic value

getTopicMap

public Map getTopicMap()
                throws Exception
Returns a mapping from topic purl to topic label

Returns:
The topicMap value
Throws:
Exception - NOT YET DOCUMENTED

DLESE Tools
v1.6.0