com.partnersoft.io.formats.rover
Class RoverReader
java.lang.Object
com.partnersoft.io.formats.rover.RoverReader
- All Implemented Interfaces:
- RoverConstants, java.util.Iterator
public class RoverReader
- extends java.lang.Object
- implements RoverConstants, java.util.Iterator
A state register-based parser for the rover format. Use the
iterator methods to plow through it; the actual contents for the
current item are exposed as public variables for speed/simplicity.
- Author:
- Paul Reavis
Copyright 2002 Partner Software, Inc.
| 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, LIST, MASK_TYPECODE, NAMING, POINT, POLYGON, POLYLINE, POP, PUSH, RENDER_FINDITEM, RENDER_INDICATION, RENDER_NORMAL, RENDER_SELECTION, ROTATION_MULT, TEXEL_COORD_MAX, TEXEL_COORD_SIZE, TEXT, TILE_COORD_MAX, TILE_SIZE_PIXELS, VALUE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
originX
public float originX
originY
public float originY
scaleFactor
public float scaleFactor
currentType
public int currentType
currentStyle
public int currentStyle
currentID
public long currentID
currentX
public float currentX
currentY
public float currentY
currentRotation
public float currentRotation
currentAlignment
public int currentAlignment
currentOffsetX
public int currentOffsetX
currentOffsetY
public int currentOffsetY
currentPoints
public DoubleBuffer currentPoints
currentText
public java.lang.String currentText
RoverReader
public RoverReader(ByteBuffer buffy)
throws java.io.IOException
- Throws:
java.io.IOException
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove in interface java.util.Iterator