org.wkb4j.jts
Class JTSGetter

java.lang.Object
  |
  +--org.wkb4j.engine.AbstractWKBGetter
        |
        +--org.wkb4j.jts.JTSGetter
All Implemented Interfaces:
WKBGetter

public class JTSGetter
extends AbstractWKBGetter

Retrieves PostGIS geometries from the specified database Connectiion and return them in a List. This is the simplest interface offered by WKB4J. If it does not match your needs, you will need to handle the WKBParser, WKBReader and WKBFactory yourself. org.wkb4j.examples.SampleCode is provided as an example.


Field Summary
protected static org.apache.log4j.Logger log
           
 
Fields inherited from class org.wkb4j.engine.AbstractWKBGetter
factory, parser, reader
 
Constructor Summary
JTSGetter()
           
 
Method Summary
 java.util.List getData(java.sql.Connection dbConn, java.lang.String sqlQuery)
           
 java.util.List getData(java.sql.Connection dbConn, java.lang.String table, java.lang.String geocolumn, java.lang.String whereClause)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
Constructor Detail

JTSGetter

public JTSGetter()
Method Detail

getData

public java.util.List getData(java.sql.Connection dbConn,
                              java.lang.String table,
                              java.lang.String geocolumn,
                              java.lang.String whereClause)

getData

public java.util.List getData(java.sql.Connection dbConn,
                              java.lang.String sqlQuery)


Copyright © 2002-2003 David Garnier. All Rights Reserved.