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

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

public class NETFileReader
extends ImgFile

Read the NET file.


Constructor Summary
NETFileReader(ImgChannel chan)
           
 
Method Summary
 int getLabelOffset(int netOffset)
          Get the label offset, given the NET offset.
 
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

NETFileReader

public NETFileReader(ImgChannel chan)
Method Detail

getLabelOffset

public int getLabelOffset(int netOffset)
Get the label offset, given the NET offset.

Parameters:
netOffset - An offset into NET 1, as found in the road entries in RGN for example.
Returns:
The offset into LBL as found in NET 1.