uk.me.parabola.tdbfmt
Class DetailMapBlock

java.lang.Object
  extended by uk.me.parabola.tdbfmt.OverviewMapBlock
      extended by uk.me.parabola.tdbfmt.DetailMapBlock

public class DetailMapBlock
extends OverviewMapBlock

Details of a single .img file that is part of the map set. There will be one of these for each .img file.

Author:
Steve Ratcliffe

Constructor Summary
DetailMapBlock(uk.me.parabola.tdbfmt.Block block)
          Initialise this block from the raw block given.
DetailMapBlock(int tdbVersion)
           
 
Method Summary
 void setLblDataSize(int lblDataSize)
           
 void setNetDataSize(int netDataSize)
           
 void setNodDataSize(int nodDataSize)
           
 void setRgnDataSize(int rgnDataSize)
           
 void setTreDataSize(int treDataSize)
           
 java.lang.String toString()
           
 void write(uk.me.parabola.tdbfmt.Block block)
          Write into the given block.
 
Methods inherited from class uk.me.parabola.tdbfmt.OverviewMapBlock
getMapName, setArea, setDescription, setMapName, setParentMapNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DetailMapBlock

public DetailMapBlock(int tdbVersion)

DetailMapBlock

public DetailMapBlock(uk.me.parabola.tdbfmt.Block block)
               throws java.io.IOException
Initialise this block from the raw block given.

Parameters:
block - The raw block read from the file.
Throws:
java.io.IOException - For io problems.
Method Detail

write

public void write(uk.me.parabola.tdbfmt.Block block)
           throws java.io.IOException
Write into the given block.

Overrides:
write in class OverviewMapBlock
Parameters:
block - The block that will have been initialised to be a detail block.
Throws:
java.io.IOException - Problems writing, probably can't really happen as we use an array backed stream.

setRgnDataSize

public void setRgnDataSize(int rgnDataSize)

setTreDataSize

public void setTreDataSize(int treDataSize)

setLblDataSize

public void setLblDataSize(int lblDataSize)

setNetDataSize

public void setNetDataSize(int netDataSize)

setNodDataSize

public void setNodDataSize(int nodDataSize)

toString

public java.lang.String toString()
Overrides:
toString in class OverviewMapBlock