uk.me.parabola.imgfmt.app.net
Class NETFile

java.lang.Object
  extended by uk.me.parabola.imgfmt.app.ImgFile
      extended by uk.me.parabola.imgfmt.app.net.NETFile
All Implemented Interfaces:
java.io.Closeable

public class NETFile
extends ImgFile

The NET file. This consists of information about roads. It is not clear what this file brings on its own (without NOD) but may allow some better searching, street addresses etc.

Author:
Steve Ratcliffe

Constructor Summary
NETFile(ImgChannel chan)
           
 
Method Summary
 void setNetwork(java.util.List<RoadDef> roads)
           
 void write(int numCities, int numZips)
           
 void writePost(ImgFileWriter rgn, boolean sortRoads)
           
 
Methods inherited from class uk.me.parabola.imgfmt.app.ImgFile
close, getHeader, getReader, getSize, getWriter, isWritable, position, position, setHeader, setReader, setWriter, sync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NETFile

public NETFile(ImgChannel chan)
Method Detail

write

public void write(int numCities,
                  int numZips)

writePost

public void writePost(ImgFileWriter rgn,
                      boolean sortRoads)

setNetwork

public void setNetwork(java.util.List<RoadDef> roads)