Package org.infinispan.cli.util
Class ReaderIterator
- java.lang.Object
-
- org.infinispan.cli.util.ReaderIterator
-
- All Implemented Interfaces:
AutoCloseable,Iterator<String>
public class ReaderIterator extends Object implements Iterator<String>, AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description ReaderIterator(InputStream inputStream, Pattern regex)
-
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
-
ReaderIterator
public ReaderIterator(InputStream inputStream, Pattern regex)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-