BeanIO 1.2.3

org.beanio.stream
Interface RecordReaderFactory

All Known Implementing Classes:
CsvReaderFactory, DelimitedReaderFactory, FixedLengthReaderFactory, XmlReaderFactory

public interface RecordReaderFactory

A RecordReaderFactory is used to create and configure a RecordReader.

Since:
1.0
Author:
Kevin Seim

Method Summary
 RecordReader createReader(Reader in)
          Creates a new RecordReader to read from an input stream.
 

Method Detail

createReader

RecordReader createReader(Reader in)
                          throws IllegalArgumentException
Creates a new RecordReader to read from an input stream.

Parameters:
in - the input stream to read from
Returns:
the new RecordReader
Throws:
IllegalArgumentException - if the factory is improperly configured and a RecordReader cannot be created

BeanIO 1.2.3

Copyright © 2010-2012 Kevin Seim