Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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>

Constructor Summary
`LinesOfFileIterator(File file)`

Method Summary
`void` | `close()`
`protected String` | `fetchNextOrNull()`

Methods inherited from class org.neo4j.helpers.collection.PrefetchingIterator
`getPrefetchedNextOrNull, hasNext, next, remove, setPrefetchedNext`

Methods inherited from class java.lang.Object
`clone, equals, finalize, 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)
                        throws IOException

Throws:
  `IOException`

Method Detail

### fetchNextOrNull

    protected String fetchNextOrNull()

  Specified by:
    `fetchNextOrNull` in class `PrefetchingIterator<String>`

### close

    public void close()

  Specified by:
    `close` in interface `ClosableIterator<String>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.