Class SystemRegistry


  • public class SystemRegistry
    extends java.lang.Object

    A registry that loads up the standard biodirectory files.

    This class will search for the following files in turn:

    1. ~/.bioinformatics/seqdatabase.ini where ~ is the JAVA user home system property
    2. /etc/bioinformatics/seqdatabase.ini
    3. "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
    • Constructor Summary

      Constructors 
      Constructor Description
      SystemRegistry()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.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
    • Constructor Detail

      • SystemRegistry

        public SystemRegistry()
    • Method Detail

      • 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 java.util.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.