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 RegistryConfigurationparseRegistry(BufferedReader in, String locator) parseRegistryparses 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 parseRegistryparses an Open Bioinformatics Database Access (OBDA) configuration file.- Parameters:
in- aBufferedReader.locator- aStringa configuration file locator.- Returns:
- a
RegistryConfiguration. - Throws:
IOException- if an error reading the configuration file.RegistryException- if the configuration setup fails.
-