Example usage for com.google.common.io LineReader interface-usage

List of usage examples for com.google.common.io LineReader interface-usage

Introduction

In this page you can find the example usage for com.google.common.io LineReader interface-usage.

Usage

From source file org.apache.flume.client.avro.SpoolingFileLineReader.java

/**
 * A {@link LineReader} which reads log data from files stored in a
 * spooling directory and renames each file once all of its data has been
 * read (through {@link #readLine()} calls). The user must {@link #commit()}
 * each read, to indicate that the lines have been fully processed.
 * Read calls will return no data if there are no files left to read. This