Package org.biojava.directory
Class SystemRegistry
java.lang.Object
org.biojava.directory.SystemRegistry
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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CONFIG_LOCATOR
- See Also:
-
CONFIG_FILE
- See Also:
-
OBDA_SEARCH_ENV
- See Also:
-
-
Constructor Details
-
SystemRegistry
public SystemRegistry()
-
-
Method Details
-
instance
Get the singleton Registry instance representing the system-wide default registry.- Returns:
- the system-wide Registry object.
-
getRegistryPath
Get the list of places that will be searched for registry files.- Returns:
- a List of strings that are URLs to bioregistry files.
-