org.placelab.mapper.loader
Class FileMapSource

java.lang.Object
  extended byorg.placelab.mapper.loader.StreamMapSource
      extended byorg.placelab.mapper.loader.FileMapSource
All Implemented Interfaces:
MapSource

public class FileMapSource
extends StreamMapSource


Nested Class Summary
 
Nested classes inherited from class org.placelab.mapper.loader.StreamMapSource
StreamMapSource.StreamIterator
 
Field Summary
 
Fields inherited from class org.placelab.mapper.loader.StreamMapSource
enabled, name
 
Constructor Summary
FileMapSource(java.lang.String path)
           
 
Method Summary
 boolean isDefault()
           
 java.util.Enumeration query(Coordinate one, Coordinate two)
           
 
Methods inherited from class org.placelab.mapper.loader.StreamMapSource
getName, queryImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileMapSource

public FileMapSource(java.lang.String path)
              throws java.io.FileNotFoundException
Method Detail

isDefault

public boolean isDefault()
Specified by:
isDefault in interface MapSource
Overrides:
isDefault in class StreamMapSource

query

public java.util.Enumeration query(Coordinate one,
                                   Coordinate two)
Specified by:
query in interface MapSource
Specified by:
query in class StreamMapSource