OpenAPI 1.0

com.aquafold.openapi.io
Interface AQFormattedTextReader

All Superinterfaces:
AQDataReader, Closeable
All Known Subinterfaces:
AQTextFileReader, AQTextStringReader

public interface AQFormattedTextReader
extends AQDataReader

Interface for reading data from plain text sources.


Method Summary
 AQDataSet read()
          Sequentially reads the input stream into an in-memory data set.
 void setColumnNames(String[] columnNames)
          Sets the reader column names.
 
Methods inherited from interface com.aquafold.openapi.io.AQDataReader
close, getColumnStructure, readNextRow
 

Method Detail

setColumnNames

void setColumnNames(String[] columnNames)
Sets the reader column names. This method defines the maximum number of columns read by the read() method.

Parameters:
columnNames - Column names.

read

AQDataSet read()
               throws Exception
Sequentially reads the input stream into an in-memory data set. This method also gives default column names if column names were not set prior to calling this method.

Specified by:
read in interface AQDataReader
Throws:
Exception - On Error.

OpenAPI 1.0


Copyright © 2010 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.