Example usage for org.apache.commons.io LineIterator subclass-usage

List of usage examples for org.apache.commons.io LineIterator subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.io LineIterator subclass-usage.

Usage

From source file org.duracloud.mill.util.FileLineIterator.java

/**
 * This Iterator's items are lines of a file.  The hasNext() method returns true
 * if the file contains anymore lines, false otherwise. The next() method
 * returns the next line in the file.
 * Once all lines have been iterated through and hasNext() returns false the
 * underlying file is deleted.