Package: grails.io.support

## [Groovy] Class SystemStreamsRedirector

- grails.io.support.SystemStreamsRedirector

- - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `java.io.PrintStream` | `err`
    `java.io.InputStream` | `input`
    `java.io.PrintStream` | `out`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `static SystemStreamsRedirector` | `create(java.io.InputStream input, java.io.PrintStream out, java.io.PrintStream err)`
    `` | `static SystemStreamsRedirector` | `current()`
    `` | `static SystemStreamsRedirector` | `original()`
    `` | `SystemStreamsRedirector` | `redirect()`
    `<T>` | `static T` | `withOriginalIO(groovy.lang.Closure<T> closure)`
    `<T>` | `T` | `withRedirectedIO(groovy.lang.Closure<T> closure)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Property Detail

    - #### final java.io.PrintStream err

    - #### final java.io.InputStream input

    - #### final java.io.PrintStream out

  - ### Method Detail

    - #### static SystemStreamsRedirector create(java.io.InputStream input, java.io.PrintStream out, java.io.PrintStream err)

    - #### static SystemStreamsRedirector current()

    - #### static SystemStreamsRedirector original()

    - #### SystemStreamsRedirector redirect()

    - #### <T> static T withOriginalIO(groovy.lang.Closure<T> closure)

    - #### <T> T withRedirectedIO(groovy.lang.Closure<T> closure)