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 ...

Get Groovy in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.