Class OBDARegistryParser


  • public class OBDARegistryParser
    extends java.lang.Object

    This class encapsulates all the parsing of the OBDA registry configuration file.

    Version:
    $Revision$
    Author:
    Brian Gilman, Thomas Down, Keith James
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static RegistryConfiguration parseRegistry​(java.io.BufferedReader in, java.lang.String locator)
      parseRegistry parses an Open Bioinformatics Database Access (OBDA) configuration file.
      • Methods inherited from class java.lang.Object

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

      • parseRegistry

        public static RegistryConfiguration parseRegistry​(java.io.BufferedReader in,
                                                          java.lang.String locator)
                                                   throws java.io.IOException,
                                                          RegistryException
        parseRegistry parses an Open Bioinformatics Database Access (OBDA) configuration file.
        Parameters:
        in - a BufferedReader.
        locator - a String a configuration file locator.
        Returns:
        a RegistryConfiguration.
        Throws:
        java.io.IOException - if an error reading the configuration file.
        RegistryException - if the configuration setup fails.