Package org.infinispan.cli.util
Class JsonReaderIterator
- java.lang.Object
-
- org.infinispan.cli.util.JsonReaderIterator
-
- All Implemented Interfaces:
AutoCloseable,Iterator<String>
public class JsonReaderIterator extends Object implements Iterator<String>, AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description JsonReaderIterator(Reader reader, Predicate<String> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()Stringnext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
JsonReaderIterator
public JsonReaderIterator(Reader reader, Predicate<String> predicate) throws IllegalArgumentException, IOException
- Throws:
IllegalArgumentExceptionIOException
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-