Package systextil.rpt
Class TextRowsReader
java.lang.Object
systextil.rpt.ColumnsInRowsReader
systextil.rpt.TextRowsReader
- Direct Known Subclasses:
PositionedColumnsReader
Lê dados que estejam organizados em colunas a partir da leitura de caracteres,
linha a linha.
A fonte de dados (o Reader
) é fechada automaticamente ao fim do arquivo.
- See Also:
-
Field Summary
Fields inherited from class systextil.rpt.ColumnsInRowsReader
row, rowNumber
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class systextil.rpt.ColumnsInRowsReader
getBigDecimal, getCurrentRowNumber, getDate, getDouble, getInt, getString, getTime
-
Constructor Details
-
TextRowsReader
-
-
Method Details
-
next
public final boolean next()Posiciona a leitura no próximo registro.- Specified by:
next
in classColumnsInRowsReader
- Returns:
- se há próximo registro para ler
-
parse
Interpreta as colunas contidas em uma linha de texto.Implementações deste método são responsáveis por preencher a lista
ColumnsInRowsReader.row
com os valores que foram lidos.- Parameters:
line
- o texto da linha, a ser interpretado- Returns:
- se foi lida com sucesso uma linha válida
-