uk.me.parabola.imgfmt.app.trergn
Class TREHeader
java.lang.Object
uk.me.parabola.imgfmt.app.CommonHeader
uk.me.parabola.imgfmt.app.trergn.TREHeader
public class TREHeader
- extends CommonHeader
- Author:
- Steve Ratcliffe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRE_120
public static final int TRE_120
- See Also:
- Constant Field Values
TRE_184
public static final int TRE_184
- See Also:
- Constant Field Values
TREHeader
public TREHeader()
readFileHeader
protected void readFileHeader(ImgFileReader reader)
throws ReadFailedException
- Read the rest of the header. Specific to the given file. It is guaranteed
that the file position will be set to the correct place before this is
called.
- Specified by:
readFileHeader
in class CommonHeader
- Parameters:
reader
- The header is read from here.
- Throws:
ReadFailedException
writeFileHeader
protected void writeFileHeader(ImgFileWriter writer)
- Write the rest of the header. It is guaranteed that the writer will be set
to the correct position before calling.
- Specified by:
writeFileHeader
in class CommonHeader
- Parameters:
writer
- The header is written here.
config
public void config(EnhancedProperties props)
setBounds
public void setBounds(Area area)
- Set the bounds based upon the latitude and longitude in degrees.
- Parameters:
area
- The area bounded by the map.
getBounds
public Area getBounds()
setMapId
public void setMapId(int id)
setPoiDisplayFlags
public void setPoiDisplayFlags(byte poiDisplayFlags)
getMapInfoSize
public int getMapInfoSize()
setMapInfoSize
public void setMapInfoSize(int mapInfoSize)
getMapLevelsPos
public int getMapLevelsPos()
setMapLevelPos
public void setMapLevelPos(int mapLevelPos)
getMapLevelsSize
public int getMapLevelsSize()
setMapLevelsSize
public void setMapLevelsSize(int mapLevelsSize)
getSubdivPos
public int getSubdivPos()
setSubdivPos
public void setSubdivPos(int subdivPos)
getSubdivSize
public int getSubdivSize()
setSubdivSize
public void setSubdivSize(int subdivSize)
setCopyrightPos
public void setCopyrightPos(int copyrightPos)
incCopyrightSize
public void incCopyrightSize()
getPoiDisplayFlags
protected byte getPoiDisplayFlags()
setPolylinePos
public void setPolylinePos(int polylinePos)
incPolylineSize
public void incPolylineSize()
setPolygonPos
public void setPolygonPos(int polygonPos)
incPolygonSize
public void incPolygonSize()
setPointPos
public void setPointPos(int pointPos)
incPointSize
public void incPointSize()
setExtTypeOffsetsPos
public void setExtTypeOffsetsPos(int pos)
incExtTypeOffsetsSize
public void incExtTypeOffsetsSize()
setExtTypeOverviewsPos
public void setExtTypeOverviewsPos(int pos)
incExtTypeOverviewsSize
public void incExtTypeOverviewsSize()
incNumExtTypeAreaTypes
public void incNumExtTypeAreaTypes()
incNumExtTypeLineTypes
public void incNumExtTypeLineTypes()
incNumExtTypePointTypes
public void incNumExtTypePointTypes()
getMapId
protected int getMapId()
setDisplayPriority
protected void setDisplayPriority(int displayPriority)
getDisplayPriority
public int getDisplayPriority()