OpenAPI 1.0

com.aquafold.openapi.io
Interface AQExcelReader

All Superinterfaces:
AQDataReader, Closeable

public interface AQExcelReader
extends AQDataReader

A data reader which facilitates import from Microsoft Excel files.


Method Summary
 void setColumnNames(String[] columns)
          Sets column names for subsequent AQDataReader.readNextRow() operation.
 void setFile(String filename)
          Sets the output file name.
 void setFirstLineContainsColumnNames(boolean on)
          Defines whether the first data row is preceded by a row containing column names.
 
Methods inherited from interface com.aquafold.openapi.io.AQDataReader
close, getColumnStructure, read, readNextRow
 

Method Detail

setFile

void setFile(String filename)
Sets the output file name.

This method may be called before any data is read. An exception will be thrown if this method is invoked after data has been read.

Parameters:
filename - File name.

setColumnNames

void setColumnNames(String[] columns)
Sets column names for subsequent AQDataReader.readNextRow() operation.

This method may be called before any data is read. An exception will be thrown if this method is invoked after data has been read.

Parameters:
columns - Column names.

setFirstLineContainsColumnNames

void setFirstLineContainsColumnNames(boolean on)
Defines whether the first data row is preceded by a row containing column names.

This method may be called before any data is read. An exception will be thrown if this method is invoked after data has been read.

Parameters:
on - When true, the first line is interpreted to contain column names.

OpenAPI 1.0


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