org.neo4j.helpers.collection
Class LinesOfFileIterator
java.lang.Object
org.neo4j.helpers.collection.PrefetchingIterator<String>
org.neo4j.helpers.collection.LinesOfFileIterator
- All Implemented Interfaces:
- Iterator<String>, ClosableIterator<String>
public class LinesOfFileIterator
- extends PrefetchingIterator<String>
- implements ClosableIterator<String>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinesOfFileIterator
public LinesOfFileIterator(File file)
throws IOException
- Throws:
IOException
fetchNextOrNull
protected String fetchNextOrNull()
- Specified by:
fetchNextOrNull
in class PrefetchingIterator<String>
close
public void close()
- Specified by:
close
in interface ClosableIterator<String>
Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.