Package org.aksw.commons.util.apache
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 org.aksw.commons.collections.SinglePrefetchIterator
current, doRemove, finish, hasNext, next, remove, wasHasNextCalled, wasNextCalled, willAdvanceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.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>
-