Neo4j

org.neo4j.helpers.collection
Class LinesOfFileIterator

java.lang.Object
  extended by org.neo4j.helpers.collection.PrefetchingIterator<String>
      extended by org.neo4j.helpers.collection.LinesOfFileIterator
All Implemented Interfaces:
Iterator<String>, ClosableIterator<String>

public class LinesOfFileIterator
extends PrefetchingIterator<String>
implements ClosableIterator<String>


Constructor Summary
LinesOfFileIterator(File file)
           
LinesOfFileIterator(File file, String encoding)
           
 
Method Summary
 void close()
           
 
Methods inherited from class org.neo4j.helpers.collection.PrefetchingIterator
hasNext, next, remove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Constructor Detail

LinesOfFileIterator

public LinesOfFileIterator(File file,
                           String encoding)
                    throws IOException
Throws:
IOException

LinesOfFileIterator

public LinesOfFileIterator(File file)
                    throws IOException
Throws:
IOException
Method Detail

close

public void close()
Specified by:
close in interface ClosableIterator<String>

Neo4j

Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.