org.aksw.commons.util.apache
Class ApacheLogEntryIterator

java.lang.Object
  extended by org.aksw.commons.collections.SinglePrefetchIterator<ApacheLogEntry>
      extended by org.aksw.commons.util.apache.ApacheLogEntryIterator
All Implemented Interfaces:
Iterator<ApacheLogEntry>, IClosable

public class ApacheLogEntryIterator
extends SinglePrefetchIterator<ApacheLogEntry>
implements IClosable


Constructor Summary
ApacheLogEntryIterator(BufferedReader reader)
           
ApacheLogEntryIterator(InputStream in, boolean closeWhenDone)
           
 
Method Summary
 void close()
           
protected  ApacheLogEntry prefetch()
           
 
Methods inherited from class org.aksw.commons.collections.SinglePrefetchIterator
finish, hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheLogEntryIterator

public ApacheLogEntryIterator(InputStream in,
                              boolean closeWhenDone)

ApacheLogEntryIterator

public ApacheLogEntryIterator(BufferedReader reader)
Method Detail

prefetch

protected ApacheLogEntry prefetch()
                           throws Exception
Specified by:
prefetch in class SinglePrefetchIterator<ApacheLogEntry>
Throws:
Exception

close

public void close()
Specified by:
close in interface IClosable
Overrides:
close in class SinglePrefetchIterator<ApacheLogEntry>


Copyright © 2012. All Rights Reserved.