Package org.incenp.obofoundry.idrange
Class IDRangePolicyParser
java.lang.Object
org.incenp.obofoundry.idrange.IDRangePolicyParser
A parser for OBO-style ID range policy files.
-
Constructor Summary
ConstructorsConstructorDescriptionIDRangePolicyParser
(String filename) Creates a new instance to parse the specified file. -
Method Summary
-
Constructor Details
-
IDRangePolicyParser
Creates a new instance to parse the specified file.- Parameters:
filename
- The name of the file to parse.
-
-
Method Details
-
parse
Parses the policy file.- Returns:
- The ID range policy as read from the file.
- Throws:
IDRangePolicyException
- If any error occurs when parsing the policy file.
-