public interface StructuredFileReader extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
closes the underlying IO-structures and releases any resources.
|
int |
getRowCount()
returns the current amount of successfully read rows
|
StructuredFileSettings |
getSettings()
returns the settings applied to this reader
|
Map<String,Object> |
getValueMap()
gets the current record's values mapped to the column names
if the column names aren't unique, the values may be overwritten
|
boolean |
readRecord()
reads the next record
|
boolean readRecord() throws Exception
true
if there was a next recordException
Map<String,Object> getValueMap()
int getRowCount()
StructuredFileSettings getSettings()
void close() throws Exception
close
in interface AutoCloseable
Exception
- if closing fails@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.