public class CSVDataOutput
extends java.lang.Object
Constructor and Description |
---|
CSVDataOutput(java.io.File file)
Instantiate.
|
CSVDataOutput(java.io.File file,
char delimiter)
Instantiate.
|
CSVDataOutput(java.io.File file,
char delimiter,
char quote)
Instantiate.
|
CSVDataOutput(java.io.File file,
char delimiter,
char quote,
char escape)
Instantiate.
|
CSVDataOutput(java.io.File file,
char delimiter,
char quote,
char escape,
char[] linebreak)
Instantiate.
|
CSVDataOutput(java.io.File file,
CSVSyntax config)
Instantiate.
|
CSVDataOutput(java.io.OutputStream stream)
Instantiate.
|
CSVDataOutput(java.io.OutputStream stream,
char delimiter)
Instantiate.
|
CSVDataOutput(java.io.OutputStream stream,
char delimiter,
char quote)
Instantiate.
|
CSVDataOutput(java.io.OutputStream stream,
char delimiter,
char quote,
char escape)
Instantiate.
|
CSVDataOutput(java.io.OutputStream stream,
char delimiter,
char quote,
char escape,
char[] linebreak)
Instantiate.
|
CSVDataOutput(java.io.OutputStream stream,
char delimiter,
char quote,
char escape,
char[] linebreak,
java.nio.charset.Charset charset)
Instantiate.
|
CSVDataOutput(java.io.OutputStream stream,
char delimiter,
char quote,
char escape,
char[] linebreak,
int maxColumns)
Instantiate.
|
CSVDataOutput(java.io.OutputStream stream,
CSVSyntax config)
Instantiate.
|
CSVDataOutput(java.lang.String filename)
Instantiate.
|
CSVDataOutput(java.lang.String filename,
char delimiter)
Instantiate.
|
CSVDataOutput(java.lang.String filename,
char delimiter,
char quote)
Instantiate.
|
CSVDataOutput(java.lang.String filename,
char delimiter,
char quote,
char escape)
Instantiate.
|
CSVDataOutput(java.lang.String filename,
char delimiter,
char quote,
char escape,
char[] linebreak)
Instantiate.
|
CSVDataOutput(java.lang.String filename,
CSVSyntax config)
Instantiate.
|
CSVDataOutput(java.lang.String filename,
CSVSyntax config,
CSVOptions options)
Instantiate.
|
CSVDataOutput(java.io.Writer writer,
char delimiter,
char quote,
char escape,
char[] linebreak)
Instantiates a new CSV data output.
|
CSVDataOutput(java.io.Writer writer,
char delimiter,
char quote,
char escape,
char[] linebreak,
CSVOptions options)
Instantiates a new CSV data output.
|
CSVDataOutput(java.io.Writer writer,
char delimiter,
char quote,
char escape,
char[] linebreak,
int maxColumns)
Instantiates a new CSV data output.
|
Modifier and Type | Method and Description |
---|---|
void |
write(java.util.Iterator<java.lang.String[]> iterator)
Write the results.
|
void |
write(java.lang.String[][] hierarchy)
Write.
|
public CSVDataOutput(java.io.File file) throws java.io.IOException
file
- the filejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.File file, char delimiter) throws java.io.IOException
file
- the filedelimiter
- the delimiterjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.File file, char delimiter, char quote) throws java.io.IOException
file
- the filedelimiter
- the delimiterquote
- the quotejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.File file, char delimiter, char quote, char escape) throws java.io.IOException
file
- the filedelimiter
- the delimiterquote
- the quoteescape
- the escapejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.File file, char delimiter, char quote, char escape, char[] linebreak) throws java.io.IOException
file
- the filedelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.File file, CSVSyntax config) throws java.io.IOException
file
- the fileconfig
- the configjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.OutputStream stream) throws java.io.IOException
stream
- the streamjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.OutputStream stream, char delimiter) throws java.io.IOException
stream
- the streamdelimiter
- the delimiterjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.OutputStream stream, char delimiter, char quote) throws java.io.IOException
stream
- the streamdelimiter
- the delimiterquote
- the quotejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.OutputStream stream, char delimiter, char quote, char escape) throws java.io.IOException
stream
- the streamdelimiter
- the delimiterquote
- the quoteescape
- the escapejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.OutputStream stream, char delimiter, char quote, char escape, char[] linebreak, int maxColumns) throws java.io.IOException
stream
- the streamdelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakmaxColumns
- java.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.OutputStream stream, char delimiter, char quote, char escape, char[] linebreak) throws java.io.IOException
stream
- the streamdelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.OutputStream stream, char delimiter, char quote, char escape, char[] linebreak, java.nio.charset.Charset charset) throws java.io.IOException
stream
- the streamdelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakcharset
- to usejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.OutputStream stream, CSVSyntax config) throws java.io.IOException
stream
- the streamconfig
- the configjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.lang.String filename) throws java.io.IOException
filename
- the filenamejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.lang.String filename, char delimiter) throws java.io.IOException
filename
- the filenamedelimiter
- the delimiterjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.lang.String filename, char delimiter, char quote) throws java.io.IOException
filename
- the filenamedelimiter
- the delimiterquote
- the quotejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.lang.String filename, char delimiter, char quote, char escape) throws java.io.IOException
filename
- the filenamedelimiter
- the delimiterquote
- the quoteescape
- the escapejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.lang.String filename, char delimiter, char quote, char escape, char[] linebreak) throws java.io.IOException
filename
- the filenamedelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.lang.String filename, CSVSyntax config) throws java.io.IOException
filename
- the filenameconfig
- the configjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.lang.String filename, CSVSyntax config, CSVOptions options) throws java.io.IOException
filename
- the filenameconfig
- the configoptions
- the optionsjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.Writer writer, char delimiter, char quote, char escape, char[] linebreak, int maxColumns) throws java.io.IOException
writer
- the writerdelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakmaxColumns
- java.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.Writer writer, char delimiter, char quote, char escape, char[] linebreak) throws java.io.IOException
writer
- the writerdelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataOutput(java.io.Writer writer, char delimiter, char quote, char escape, char[] linebreak, CSVOptions options) throws java.io.IOException
writer
- the writerdelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakjava.io.IOException
- Signals that an I/O exception has occurred.public void write(java.util.Iterator<java.lang.String[]> iterator) throws java.io.IOException
iterator
- the iteratorjava.io.IOException
- Signals that an I/O exception has occurred.public void write(java.lang.String[][] hierarchy) throws java.io.IOException
hierarchy
- the hierarchyjava.io.IOException
- Signals that an I/O exception has occurred.