X
- The object type read by this readerpublic interface FormatReader<X>
Modifier and Type | Method and Description |
---|---|
boolean |
canRead()
Return whether this reader is in a state where it can attempt to read
data.
|
void |
close()
Close this reader.
|
java.lang.String |
getFilters()
Get the filters for this reader.
|
java.lang.String |
getSource()
Get the source for this reader
|
boolean |
hasMoreData()
Returns whether the reader has more data to read.
|
java.util.List<X> |
readData()
Read the series of data elements.
|
void |
setFilters(java.lang.String filters)
Set filters for the items returned by this reader.
|
void |
setSource(java.lang.String source)
Set the source for this reader.
|
boolean canRead()
void close()
java.lang.String getFilters()
java.lang.String getSource()
boolean hasMoreData()
java.util.List<X> readData()
void setFilters(java.lang.String filters)
filters
- the filters for this readervoid setSource(java.lang.String source)
source
- the source for the reader