Package: java.io

## Class ObjectInputStream

- - ### Methods Summary

    Methods
    Return type | Name and parameters
    --- | ---
    `void` | `eachObject(Closure closure)` Iterates through the given object stream object by object.

  - #### Methods inherited from class java.io.InputStream

    `eachByte`, `eachByte`, `eachLine`, `eachLine`, `eachLine`, `eachLine`, `filterLine`, `filterLine`, `filterLine`, `filterLine`, `getBytes`, `getText`, `getText`, `iterator`, `newObjectInputStream`, `newObjectInputStream`, `newReader`, `newReader`, `readLines`, `readLines`, `splitEachLine`, `splitEachLine`, `splitEachLine`, `splitEachLine`, `withObjectInputStream`, `withObjectInputStream`, `withReader`, `withReader`, `withStream`

  - #### Methods inherited from class java.lang.Object

    `addShutdownHook`, `any`, `any`, `asBoolean`, `asType`, `average`, `collect`, `collect`, `collect`, `contains`, `count`, `dump`, `each`, `eachWithIndex`, `equals`, `every`, `every`, `find`, `find`, `findAll`, `findAll`, `findIndexOf`, `findIndexOf`, `findIndexValues`, `findIndexValues`, `findLastIndexOf`, `findLastIndexOf`, `findResult`, `findResult`, `flatten`, `getAt`, `getMetaClass`, `getMetaPropertyValues`, `getProperties`, `grep`, `grep`, `groupBy`, `groupBy`, `hasProperty`, `identity`, `inject`, `inject`, `inspect`, `invokeMethod`, `is`, `isCase`, `iterator`, `join`, `metaClass`, `print`, `print`, `printf`, `printf`, `println`, `println`, `println`, `putAt`, `respondsTo`, `respondsTo`, `setMetaClass`, `size`, `split`, `sprintf`, `sprintf`, `stream`, `sum`, `sum`, `tap`, `toArrayString`, `toSpreadMap`, `toString`, `use`, `use`, `use`, `with`, `with`, `withTraits`

  - #### Methods inherited from interface java.lang.AutoCloseable

    `withCloseable`

- - ### Methods Detail

    - #### public void eachObject(Closure closure)

      Iterates through the given object stream object by object. The ObjectInputStream is closed afterwards.

      Parameters:
        `closure` - a closure
      Since:
        1.0