|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.pgsql.common.CopyFileWriter
public class CopyFileWriter
This class provides the capability to write a file that contains data for a database COPY statement for loading a single table into the database.
Constructor Summary | |
---|---|
CopyFileWriter(java.io.File file)
Creates a new instance. |
Method Summary | |
---|---|
void |
complete()
Flushes all changes to file. |
void |
endRecord()
Writes a new line in the output file. |
void |
release()
Cleans up any open file handles. |
void |
writeField(boolean data)
Writes data to the output file. |
void |
writeField(java.util.Date data)
Writes data to the output file. |
void |
writeField(org.postgis.Geometry data)
Writes data to the output file. |
void |
writeField(int data)
Writes data to the output file. |
void |
writeField(long data)
Writes data to the output file. |
void |
writeField(java.lang.String data)
Writes data to the output file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CopyFileWriter(java.io.File file)
file
- The file to write.Method Detail |
---|
public void writeField(boolean data)
data
- The data to be written.public void writeField(int data)
data
- The data to be written.public void writeField(long data)
data
- The data to be written.public void writeField(java.lang.String data)
data
- The data to be written.public void writeField(java.util.Date data)
data
- The data to be written.public void writeField(org.postgis.Geometry data)
data
- The data to be written.public void endRecord()
public void complete()
complete
in interface Completable
public void release()
release
in interface Releasable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |