public class DBOUnlWriter
extends java.lang.Object
Constructor and Description |
---|
DBOUnlWriter(java.io.File file) |
DBOUnlWriter(java.io.OutputStream out) |
DBOUnlWriter(java.io.PrintWriter pw) |
DBOUnlWriter(java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the outputstream
|
char |
getFieldSeparator() |
java.io.File |
getFile()
Returns the file the data was written to.
|
int |
getRecordCount()
Returns the number of record that have been successfully written
|
void |
setFieldSeparator(char fs)
Set the special character for field separation (default is '|')
|
void |
setVerbose(boolean isVerbose) |
void |
writeRecord(DBRecord record) |
void |
writeRecords(DBRecord[] record) |
void |
writeRecords(RecordIterator it) |
public DBOUnlWriter(java.lang.String fileName) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public DBOUnlWriter(java.io.File file) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public DBOUnlWriter(java.io.OutputStream out)
public DBOUnlWriter(java.io.PrintWriter pw)
public void writeRecords(RecordIterator it) throws java.sql.SQLException
java.sql.SQLException
public void writeRecords(DBRecord[] record)
public void writeRecord(DBRecord record)
public int getRecordCount()
public java.io.File getFile()
public void close()
public void setVerbose(boolean isVerbose)
public void setFieldSeparator(char fs)
public char getFieldSeparator()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.