public class ODataBatchLineIteratorImpl extends Object implements ODataBatchLineIterator
| Constructor and Description |
|---|
ODataBatchLineIteratorImpl(org.apache.commons.io.LineIterator batchLineIterator)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrent()
Gets last cached line (the current one).
|
boolean |
hasNext()
Checks if batch has next line.
|
String |
next()
Gets next line.
|
String |
nextLine()
Gets next line.
|
void |
remove()
Unsupported operation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ODataBatchLineIteratorImpl(org.apache.commons.io.LineIterator batchLineIterator)
batchLineIterator - stream line iterator.public boolean hasNext()
hasNext in interface Iterator<String>hasNext in interface ODataBatchLineIteratorpublic String next()
next in interface Iterator<String>next in interface ODataBatchLineIteratorpublic String nextLine()
nextLine in interface ODataBatchLineIteratorpublic void remove()
public String getCurrent()
getCurrent in interface ODataBatchLineIteratornext() method never calledCopyright © 2023. All rights reserved.