org.deegree_impl.tools.shape
Class Shp2MySQL
java.lang.Object
org.deegree_impl.tools.shape.Shp2MySQL
- public class Shp2MySQL
- extends java.lang.Object
- Version:
- $Revision: 1.3 $
- Author:
- Andreas Poth
Field Summary |
private java.util.ArrayList |
fileList
|
private java.lang.String |
outDir
|
Constructor Summary |
Shp2MySQL(java.lang.String file)
Creates a new Shp2MySQL object. |
Method Summary |
private java.lang.String |
getCreateTableStatement(FeatureType ft)
creates a create table sql statement from the passed FeatureType |
static void |
main(java.lang.String[] args)
|
void |
run()
|
private static void |
usage(int n)
prints out helping application-information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileList
private java.util.ArrayList fileList
outDir
private java.lang.String outDir
Shp2MySQL
public Shp2MySQL(java.lang.String file)
- Creates a new Shp2MySQL object.
- Parameters:
file
-
run
public void run()
throws java.lang.Exception
- Throws:
java.lang.Exception
getCreateTableStatement
private java.lang.String getCreateTableStatement(FeatureType ft)
- creates a create table sql statement from the passed FeatureType
- Parameters:
ft
- feature type
- Returns:
- the created SQL statement
usage
private static void usage(int n)
- prints out helping application-information.
- Parameters:
n
- an integer parameter, which determines which help-information
should be given out.
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Parameters:
args
- the command line arguments
- Throws:
java.lang.Exception