org.free.garminimg.export
Class Saver
java.lang.Object
org.free.garminimg.export.Saver
- Direct Known Subclasses:
- PointSaver, PolygonSaver, PolylineSaver
public abstract class Saver
- extends java.lang.Object
Method Summary |
protected void |
checkBatch()
|
void |
finish()
|
protected abstract java.lang.String |
getQuery()
|
void |
init(java.sql.Connection conn)
|
protected void |
setString(int pos,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mapExporter
protected MapExporter mapExporter
stmt
protected java.sql.PreparedStatement stmt
Saver
public Saver(MapExporter mapExporter)
init
public void init(java.sql.Connection conn)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
checkBatch
protected void checkBatch()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
finish
public void finish()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
setString
protected void setString(int pos,
java.lang.String value)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getQuery
protected abstract java.lang.String getQuery()
Copyright © 2008. All Rights Reserved.