uk.me.parabola.mkgmap.osmstyle
Class RuleFileReader
java.lang.Object
uk.me.parabola.mkgmap.osmstyle.RuleFileReader
public class RuleFileReader
- extends java.lang.Object
Read a rules file. A rules file contains a list of rules and the
resulting garmin type, should the rule match.
- Author:
- Steve Ratcliffe
Method Summary |
void |
load(StyleFileLoader loader,
java.lang.String name)
Read a rules file. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleFileReader
public RuleFileReader(int kind,
LevelInfo[] levels,
RuleSet rules)
load
public void load(StyleFileLoader loader,
java.lang.String name)
throws java.io.FileNotFoundException
- Read a rules file.
- Parameters:
loader
- A file loader.name
- The name of the file to open.
- Throws:
java.io.FileNotFoundException
- If the given file does not exist.
main
public static void main(java.lang.String[] args)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException