Home Original page

RegistryConfiguration.Impl (biojava-legacy 1.9.5 API)

  • java.lang.Object
    • org.biojava.directory.RegistryConfiguration.Impl
  • All Implemented Interfaces:
    RegistryConfiguration
    Enclosing interface:
    RegistryConfiguration

    public static class RegistryConfiguration.Impl
    extends Object
    implements RegistryConfiguration

    A simple implementation of RegistryConfiguration backed by a Map.

    Author:
    Brian Gilman, Matthew Pocock
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.biojava.directory.RegistryConfiguration

        RegistryConfiguration.Composite, RegistryConfiguration.Impl
    • Constructor Summary

      Constructors 
      Constructor Description
      Impl​(String configFileLocation, Map config)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getConfigLocator()

      getConfigLocator returns a locator for the configuration.

      Map getConfiguration()

      getConfiguration returns a mapping of registry database names to collections of tag-value pairs.

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Impl

        public Impl​(String configFileLocation,
                    Map config)
    • Method Detail

      • getConfiguration

        public Map getConfiguration()

        getConfiguration returns a mapping of registry database names to collections of tag-value pairs.

        Specified by:
        getConfiguration in interface RegistryConfiguration
        Returns:
        a Map.
      • getConfigLocator

        public String getConfigLocator()

        getConfigLocator returns a locator for the configuration.

        Specified by:
        getConfigLocator in interface RegistryConfiguration
        Returns:
        a String.