org.geotools.data.gen.tool
Class Toolbox

Object
  extended by Toolbox

public class Toolbox
extends Object

Utility class 1) Validate xml config 2) generalize shape files

Author:
Chrisitan Mueller
Module:
modules/plugin/feature-pregeneralized (gt-feature-pregeneralized.jar)

Constructor Summary
Toolbox()
           
 
Method Summary
protected  void generalizeShapeFile(File shapeFile, DataStore shapeDS, File targetDir, Double[] distanceArray)
           
protected  void generalizeShapeFile(String shapeFileName, String targetDirName, String generalizations)
           
static void main(String[] args)
           
 boolean parse(String[] args)
           
protected  void validate(String xmlLocation)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Toolbox

public Toolbox()
Method Detail

main

public static void main(String[] args)

parse

public boolean parse(String[] args)
              throws IOException
Throws:
IOException

validate

protected void validate(String xmlLocation)
                 throws IOException
Throws:
IOException

generalizeShapeFile

protected void generalizeShapeFile(String shapeFileName,
                                   String targetDirName,
                                   String generalizations)
                            throws IOException
Throws:
IOException

generalizeShapeFile

protected void generalizeShapeFile(File shapeFile,
                                   DataStore shapeDS,
                                   File targetDir,
                                   Double[] distanceArray)
                            throws IOException
Throws:
IOException


Copyright © 1996-2009 Geotools. All Rights Reserved.