Package org.biojava.directory
Class OBDARegistryParser
java.lang.Object
org.biojava.directory.OBDARegistryParser
This class encapsulates all the parsing of the OBDA registry configuration file.
- Version:
- $Revision$
- Author:
- Brian Gilman, Thomas Down, Keith James
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RegistryConfiguration
parseRegistry
(BufferedReader in, String locator) parseRegistry
parses an Open Bioinformatics Database Access (OBDA) configuration file.
-
Constructor Details
-
OBDARegistryParser
public OBDARegistryParser()
-
-
Method Details
-
parseRegistry
public static RegistryConfiguration parseRegistry(BufferedReader in, String locator) throws IOException, RegistryException parseRegistry
parses an Open Bioinformatics Database Access (OBDA) configuration file.- Parameters:
in
- aBufferedReader
.locator
- aString
a configuration file locator.- Returns:
- a
RegistryConfiguration
. - Throws:
IOException
- if an error reading the configuration file.RegistryException
- if the configuration setup fails.
-