com.partnersoft.maps.translator
Class MapDataGraphicWriter

java.lang.Object
  extended by com.partnersoft.maps.translator.MapDataGraphicWriter
All Implemented Interfaces:
RoverConstants

public class MapDataGraphicWriter
extends java.lang.Object
implements RoverConstants

Spools graphics in a reasonably compact form to an output stream or file.


Field Summary
 
Fields inherited from interface com.partnersoft.io.formats.rover.RoverConstants
ALIGN_BOTTOM_CENTER, ALIGN_BOTTOM_FIT, ALIGN_BOTTOM_LEFT, ALIGN_BOTTOM_RIGHT, ALIGN_CENTER, ALIGN_CENTER_LEFT, ALIGN_CENTER_RIGHT, ALIGN_CODE_CENTER, ALIGN_CODE_FIT, ALIGN_CODE_HIGH, ALIGN_CODE_LOW, ALIGN_FIT, ALIGN_FIT_LEFT, ALIGN_FIT_RIGHT, ALIGN_TOP_CENTER, ALIGN_TOP_FIT, ALIGN_TOP_LEFT, ALIGN_TOP_RIGHT, COMMENT, DATA_FIELDS_MAX, EOF, FLOAT_COORDS, GEOMETRY_TYPE_NAMES, HAS_DATA, HAS_OFFSET, HAS_ROTATION, IMAGE, LIST, MASK_TYPECODE, NAMING, POINT, POINT_COLOR, POLYGON, POLYLINE, POP, PUSH, ROTATION_MULT, TEXEL_COORD_MAX, TEXEL_COORD_SIZE, TEXT, TEXT_LONG, TILE_COORD_MAX, TILE_SIZE_PIXELS, VALUE
 
Constructor Summary
MapDataGraphicWriter(java.io.File filet)
           
MapDataGraphicWriter(java.io.OutputStream output)
           
MapDataGraphicWriter(VfsFile outputFile)
           
 
Method Summary
 void close()
           
 void writeGraphic(MapDataGraphic graphic)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapDataGraphicWriter

public MapDataGraphicWriter(java.io.File filet)
                     throws java.io.IOException
Throws:
java.io.IOException

MapDataGraphicWriter

public MapDataGraphicWriter(java.io.OutputStream output)
                     throws java.io.IOException
Throws:
java.io.IOException

MapDataGraphicWriter

public MapDataGraphicWriter(VfsFile outputFile)
                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

writeGraphic

public void writeGraphic(MapDataGraphic graphic)
                  throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException