uk.ac.ebi.microarray.zooma.utils
Class Constants

java.lang.Object
  extended by uk.ac.ebi.microarray.zooma.utils.Constants

public class Constants
extends java.lang.Object

A convenience class for accessing properties in zooma that might need to be configurable.

Author:
Tony Burdett

Constructor Summary
Constants()
           
 
Method Summary
static java.net.URI lookupURI(java.lang.String resourceName)
          Looks up the URI value from the resource 'zooma-uris.properties', located on the classpath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Constants

public Constants()
Method Detail

lookupURI

public static java.net.URI lookupURI(java.lang.String resourceName)
Looks up the URI value from the resource 'zooma-uris.properties', located on the classpath

Parameters:
resourceName - the name of the resource we need the URI for
Returns:
the URI of the named resource
Throws:
java.lang.IllegalArgumentException - if the resourceName does not identify a URI in the properties file


Copyright © 2010. All Rights Reserved.