Uses of Class
org.apache.commons.io.LineIterator
Package
Description
Provides classes for working with streams, readers, writers and files.
-
Uses of LineIterator in org.apache.commons.io
Modifier and TypeMethodDescriptionstatic LineIterator
FileUtils.lineIterator
(File file) Returns an Iterator for the lines in aFile
using the default encoding for the VM.static LineIterator
FileUtils.lineIterator
(File file, String charsetName) Returns an Iterator for the lines in aFile
.static LineIterator
IOUtils.lineIterator
(InputStream input, String charsetName) Returns an Iterator for the lines in anInputStream
, using the character encoding specified (or default encoding if null).static LineIterator
IOUtils.lineIterator
(InputStream input, Charset charset) Returns an Iterator for the lines in anInputStream
, using the character encoding specified (or default encoding if null).static LineIterator
IOUtils.lineIterator
(Reader reader) Returns an Iterator for the lines in aReader
.Modifier and TypeMethodDescriptionstatic void
LineIterator.closeQuietly
(LineIterator iterator) Deprecated.As of 2.6 deprecated without replacement.