O'Reilly logo

Groovy in Action, Second Edition by Dierk König and Paul King with Guillaume Laforge, Hamlet D'Arcy, Cédric Champeau, Erik Pragt, and Jon Skeet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Type

Method name

Parameter types

Return type

InputStream      
  eachByte Closure void
  eachByte int, Closure void
  eachLine Closure Object
  eachLine String, Closure Object
  eachLine String, int, Closure Object
  eachLine int, Closure Object
  filterLine Closure Writable
  filterLine String, Closure Writable
  filterLine Writer, Closure void
  filterLine Writer, String, Closure void
  getBytes _ byte[]
  getText _ String
  getText String String
  iterator _ Iterator
  newObjectInputStream _ ObjectInputStream
  newObjectInputStream ClassLoader ObjectInputStream
  newReader _ BufferedReader
  newReader String BufferedReader
  readLines _ List
  readLines String List
  splitEachLine ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required