BeanIO 1.2.3

org.beanio.stream
Interface RecordWriterFactory

All Known Implementing Classes:
CsvWriterFactory, DelimitedWriterFactory, FixedLengthWriterFactory, XmlWriterFactory

public interface RecordWriterFactory

A RecordWriterFactory is used to create and configure a RecordWriter.

Since:
1.0
Author:
Kevin Seim

Method Summary
 RecordWriter createWriter(Writer out)
          Creates a new RecordWriter to write to an output stream.
 

Method Detail

createWriter

RecordWriter createWriter(Writer out)
                          throws IllegalArgumentException
Creates a new RecordWriter to write to an output stream.

Parameters:
out - the output stream to write to
Returns:
the new RecordWriter
Throws:
IllegalArgumentException - if the factory is improperly configured and a RecordWriter cannot be created

BeanIO 1.2.3

Copyright © 2010-2012 Kevin Seim