Class ApacheLogEntryIterator
java.lang.Object
org.aksw.commons.collections.SinglePrefetchIterator<ApacheLogEntry>
org.aksw.commons.util.apache.ApacheLogEntryIterator
- All Implemented Interfaces:
Closeable, AutoCloseable, Iterator<ApacheLogEntry>
public class ApacheLogEntryIterator
extends SinglePrefetchIterator<ApacheLogEntry>
implements AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionApacheLogEntryIterator(BufferedReader reader) ApacheLogEntryIterator(InputStream in, boolean closeWhenDone) -
Method Summary
Methods inherited from class SinglePrefetchIterator
current, doRemove, finish, hasNext, next, remove, wasHasNextCalled, wasNextCalled, willAdvanceMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
ApacheLogEntryIterator
-
ApacheLogEntryIterator
-
-
Method Details
-
prefetch
- Specified by:
prefetchin classSinglePrefetchIterator<ApacheLogEntry>- Throws:
Exception
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classSinglePrefetchIterator<ApacheLogEntry>
-