org.biojava.directory
Class SystemRegistry
java.lang.Object
org.biojava.directory.SystemRegistry
public class SystemRegistry
- extends Object
A registry that loads up the standard biodirectory files.
This class will search for the following files in turn:
- ~/.bioinformatics/seqdatabase.ini where ~ is the JAVA user home system
property
- /etc/bioinformatics/seqdatabase.ini
- "http://www.open-bio.org/registry/seqdatabase.ini
The default search path may be replaced by an alternative search
path specified by the OBDA_SEARCH_PATH
system
environment variable. This environment variable is a "+" delimted
string of files and URLs. The search order proceeds from read left
to right.
- Author:
- Thomas Down, Matthew Pocock, Keith James
Method Summary |
static List |
getRegistryPath()
Get the list of places that will be searched for registry
files. |
static Registry |
instance()
Get the singleton Registry instance representing the system-wide
default registry. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_LOCATOR
public static final String CONFIG_LOCATOR
- See Also:
- Constant Field Values
CONFIG_FILE
public static final String CONFIG_FILE
- See Also:
- Constant Field Values
OBDA_SEARCH_ENV
public static final String OBDA_SEARCH_ENV
- See Also:
- Constant Field Values
SystemRegistry
public SystemRegistry()
instance
public static Registry instance()
- Get the singleton Registry instance representing the system-wide
default registry.
- Returns:
- the system-wide Registry object.
getRegistryPath
public static List getRegistryPath()
- Get the list of places that will be searched for registry
files.
- Returns:
- a List of strings that are URLs to bioregistry files.