org.geotools.data.shapefile
Class ShapefileRendererUtil

Object
  extended by ShapefileRendererUtil

public class ShapefileRendererUtil
extends Object

Allows access the the ShapefileReaders.

Since:
2.1.x
Author:
jeichar
Module:

Constructor Summary
ShapefileRendererUtil()
           
 
Method Summary
static IndexedDbaseFileReader getDBFReader(ShapefileDataStore ds)
           
static FIDReader getFidReader(ShapefileDataStore datastore, RecordNumberTracker tracker)
           
static ShpFiles getShpFiles(ShapefileDataStore ds)
           
static ReadableByteChannel getShpReadChannel(ShapefileDataStore ds)
           
static ShapefileReader getShpReader(ShapefileDataStore ds, Envelope bbox, Rectangle screenSize, MathTransform mt, boolean hasOpacity, boolean returnJTS)
          gets a shapefile reader with the custom shaperenderer shape handler.
static URL getshpURL(ShapefileDataStore ds)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapefileRendererUtil

public ShapefileRendererUtil()
Method Detail

getShpReader

public static ShapefileReader getShpReader(ShapefileDataStore ds,
                                           Envelope bbox,
                                           Rectangle screenSize,
                                           MathTransform mt,
                                           boolean hasOpacity,
                                           boolean returnJTS)
                                    throws IOException,
                                           TransformException
gets a shapefile reader with the custom shaperenderer shape handler.

Parameters:
ds - the datastore used to obtain the reader
bbox - the area, in data coordinates, of the viewed data.
mt - The transform used to transform from data->world coordinates->screen coordinates
hasOpacity - the transform from screen coordinates to world coordinates. Used for decimation.
Returns:
Throws:
IOException
TransformException

getDBFReader

public static IndexedDbaseFileReader getDBFReader(ShapefileDataStore ds)
                                           throws IOException
Throws:
IOException

getShpReadChannel

public static ReadableByteChannel getShpReadChannel(ShapefileDataStore ds)
                                             throws IOException
Throws:
IOException

getshpURL

public static URL getshpURL(ShapefileDataStore ds)

getFidReader

public static FIDReader getFidReader(ShapefileDataStore datastore,
                                     RecordNumberTracker tracker)
                              throws MalformedURLException
Throws:
MalformedURLException

getShpFiles

public static ShpFiles getShpFiles(ShapefileDataStore ds)


Copyright © 1996-2009 Geotools. All Rights Reserved.