uk.me.parabola.tdbfmt
Class DetailMapBlock
java.lang.Object
uk.me.parabola.tdbfmt.OverviewMapBlock
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
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