Top Fields Constructors Methods
liquibase.util.csv

public Class CSVWriter

extends Object
implements AutoCloseable, Flushable
Class Inheritance
All Implemented Interfaces
java.io.Flushable, java.lang.AutoCloseable
Imports
com.opencsv.CSVWriterBuilder, .ICSVWriter, java.io.Flushable, .IOException, .Writer

Field Summary

Modifier and TypeField and Description
private final ICSVWriter

Constructor Summary

AccessConstructor and Description
public
CSVWriter(Writer writer)

Method Summary

Modifier and TypeMethod and Description
public void
close()

Implements java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources.

public void
flush()

Implements java.io.Flushable.flush.

Flushes this stream by writing any buffered output to the underlying stream.

public void
writeNext(String[] nextLine)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

delegateback to summary
private final ICSVWriter delegate

Constructor Detail

CSVWriterback to summary
public CSVWriter(Writer writer)

Method Detail

closeback to summary
public void close() throws Exception

Implements java.lang.AutoCloseable.close.

Doc from java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources. This method is invoked automatically on objects managed by the try-with-resources statement.

Annotations
@Override
Exceptions
Exception:
if this resource cannot be closed
flushback to summary
public void flush() throws IOException

Implements java.io.Flushable.flush.

Doc from java.io.Flushable.flush.

Flushes this stream by writing any buffered output to the underlying stream.

Annotations
@Override
Exceptions
IOException:
If an I/O error occurs
writeNextback to summary
public void writeNext(String[] nextLine)