DLESE Tools
v1.6.0

org.dlese.dpc.standards.asn
Class AsnHelper

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

public class AsnHelper
extends Object

Utility class to provide acess to resolution services for ASN topics and authors. Useful because values for authors and topics in ASN standards are represented as purls, and we often need to resolve them into a human-relevant form.

Author:
Jonathan Ostwald

Method Summary
 String getAuthor(String purl)
          Resolves provided authorPurl into human-relevant form
static AsnHelper getInstance()
           
 String getTopic(String purl)
          Resolves provided topicPurl into human-relevant form.
static void main(String[] args)
          The main program for the AsnHelper class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static AsnHelper getInstance()

getAuthor

public String getAuthor(String purl)
Resolves provided authorPurl into human-relevant form

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

getTopic

public String getTopic(String purl)
Resolves provided topicPurl into human-relevant form.

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

main

public static void main(String[] args)
                 throws Exception
The main program for the AsnHelper class

Parameters:
args - The command line arguments
Throws:
Exception - NOT YET DOCUMENTED

DLESE Tools
v1.6.0