Package org.geotools.data.gen.tool
Class Toolbox
- Object
-
- Toolbox
-
public class Toolbox extends Object
Utility class1) Validate xml config 2) generalize shape files
- Author:
- Chrisitan Mueller
-
-
Constructor Summary
Constructors Constructor Description Toolbox()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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
-
-