uk.me.parabola.mkgmap.osmstyle
Class MapFeatureReader

java.lang.Object
  extended by uk.me.parabola.mkgmap.osmstyle.MapFeatureReader

public class MapFeatureReader
extends java.lang.Object

Read in a map-features file. This is the 'old' way of specifying styles. It is also supported in the new styles and can be used as a base.


Constructor Summary
MapFeatureReader()
           
 
Method Summary
 java.util.Map<java.lang.String,GType> getLineFeatures()
           
 java.util.Map<java.lang.String,GType> getPointFeatures()
           
 java.util.Map<java.lang.String,GType> getShapeFeatures()
           
 void readFeatures(java.io.BufferedReader in)
          Read the features from the file.
 void setLevels(LevelInfo[] levels)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapFeatureReader

public MapFeatureReader()
Method Detail

readFeatures

public void readFeatures(java.io.BufferedReader in)
                  throws java.io.IOException
Read the features from the file.

Parameters:
in - The open file.
Throws:
java.io.IOException - On any problems reading.

getPointFeatures

public java.util.Map<java.lang.String,GType> getPointFeatures()

getLineFeatures

public java.util.Map<java.lang.String,GType> getLineFeatures()

getShapeFeatures

public java.util.Map<java.lang.String,GType> getShapeFeatures()

setLevels

public void setLevels(LevelInfo[] levels)