uk.me.parabola.mkgmap.osmstyle
Class RuleFileReader

java.lang.Object
  extended by 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

Constructor Summary
RuleFileReader(int kind, LevelInfo[] levels, RuleSet rules)
           
 
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
 

Constructor Detail

RuleFileReader

public RuleFileReader(int kind,
                      LevelInfo[] levels,
                      RuleSet rules)
Method Detail

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