public abstract class FileReader extends Object
Constructor and Description |
---|
FileReader()
Constructs a CsvReader
|
Modifier and Type | Method and Description |
---|---|
String[] |
getColumnNames(ReadOptions options,
ColumnType[] types,
com.univocity.parsers.common.AbstractParser<?> parser)
Returns the column names for each column in the source.
|
ColumnType[] |
getColumnTypes(Reader reader,
ReadOptions options,
int linesToSkip,
com.univocity.parsers.common.AbstractParser<?> parser)
Returns an array containing the inferred columnTypes for the file being read, as calculated by
the ColumnType inference logic.
|
protected String |
getTypeString(Table structure) |
protected Table |
parseRows(ReadOptions options,
boolean headerOnly,
Reader reader,
ColumnType[] types,
com.univocity.parsers.common.AbstractParser<?> parser) |
public ColumnType[] getColumnTypes(Reader reader, ReadOptions options, int linesToSkip, com.univocity.parsers.common.AbstractParser<?> parser)
public String[] getColumnNames(ReadOptions options, ColumnType[] types, com.univocity.parsers.common.AbstractParser<?> parser)
protected Table parseRows(ReadOptions options, boolean headerOnly, Reader reader, ColumnType[] types, com.univocity.parsers.common.AbstractParser<?> parser)
Copyright © 2020. All rights reserved.