public interface

LineProcessor

com.google.gdata.util.common.io.LineProcessor<T>

Class Overview

A callback to be used with the streaming readLines methods.

processLine(String) will be called for each line that is read, and should return false when you want to stop processing.

See Also

Summary

Public Methods
abstract T getResult()
abstract boolean processLine(String line)
This method will be called once for each line.

Public Methods

public abstract T getResult ()

Returns
  • the result of processing all of the lines seen

public abstract boolean processLine (String line)

This method will be called once for each line.

Parameters
line
Returns
  • true if we want to continue processing, false if we want to stop
Throws
IOException