# Uses of Class
org.apache.commons.io.LineIterator

Packages that use LineIterator
Package
Description
org.apache.commons.io
Provides classes for working with streams, readers, writers and files.

- ## Uses of LineIterator in org.apache.commons.io

  Methods in org.apache.commons.io that return LineIterator
  Modifier and Type
  Method
  Description
  `static LineIterator`
  FileUtils.`lineIterator(File file)`
  Returns an Iterator for the lines in a `File` using the default encoding for the VM.
  `static LineIterator`
  FileUtils.`lineIterator(File file, String charsetName)`
  Returns an Iterator for the lines in a `File`.
  `static LineIterator`
  IOUtils.`lineIterator(InputStream input, String charsetName)`
  Returns an Iterator for the lines in an `InputStream`, 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 an `InputStream`, using the character encoding specified (or default encoding if null).
  `static LineIterator`
  IOUtils.`lineIterator(Reader reader)`
  Returns an Iterator for the lines in a `Reader`.
  Methods in org.apache.commons.io with parameters of type LineIterator
  Modifier and Type
  Method
  Description
  `static void`
  LineIterator.`closeQuietly(LineIterator iterator)`
  Deprecated.
  As of 2.6 deprecated without replacement.