Package org.biojava.directory
Class OBDARegistryParser
- java.lang.Object
-
- org.biojava.directory.OBDARegistryParser
-
public class OBDARegistryParser extends Object
This class encapsulates all the parsing of the OBDA registry configuration file.
- Version:
- $Revision$
- Author:
- Brian Gilman, Thomas Down, Keith James
-
-
Constructor Summary
Constructors Constructor Description OBDARegistryParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RegistryConfiguration
parseRegistry(BufferedReader in, String locator)
parseRegistry
parses an Open Bioinformatics Database Access (OBDA) configuration file.
-
-
-
Constructor Detail
-
OBDARegistryParser
public OBDARegistryParser()
-
-
Method Detail
-
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.
-
-