org.geotools.data.shapefile.shp
Class ShapefileReader.Record

Object
  extended by ShapefileReader.Record
Enclosing class:
ShapefileReader

public final class ShapefileReader.Record
extends Object

The reader returns only one Record instance in its lifetime. The record contains the current record information.


Field Summary
 double maxX
          The maximum X value.
 double maxY
          The maximum Y value.
 double minX
          The minimum X value.
 double minY
          The minimum Y value.
 int number
           
 ShapeType type
           
 
Constructor Summary
ShapefileReader.Record()
           
 
Method Summary
 Envelope envelope()
           
 Object getSimplifiedShape()
           
 Object getSimplifiedShape(ScreenMap sm)
           
 int offset()
           
 Object shape()
          Fetch the shape stored in this record.
 String toString()
          A summary of the record.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

number

public int number

minX

public double minX
The minimum X value.


minY

public double minY
The minimum Y value.


maxX

public double maxX
The maximum X value.


maxY

public double maxY
The maximum Y value.


type

public ShapeType type
Constructor Detail

ShapefileReader.Record

public ShapefileReader.Record()
Method Detail

shape

public Object shape()
Fetch the shape stored in this record.


offset

public int offset()

toString

public String toString()
A summary of the record.

Overrides:
toString in class Object

envelope

public Envelope envelope()

getSimplifiedShape

public Object getSimplifiedShape()

getSimplifiedShape

public Object getSimplifiedShape(ScreenMap sm)


Copyright © 1996-2014 Geotools. All Rights Reserved.