Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ix.util
Class IO

    java.lang.Object
      ix.util.IO

    public final class IO

extends java.lang.Object

Class for useful static I/O methods that don't belong anywhere else.

Method Summary
`static void` | `withClosable(java.lang.Object closable, java.lang.Runnable thunk)`
`static void` | `withInputStream(java.io.InputStream s, java.lang.Runnable thunk)`
`static void` | `withOutputStream(java.io.OutputStream s, java.lang.Runnable thunk)`
`static void` | `withReader(java.io.Reader r, java.lang.Runnable thunk)`
`static void` | `withWriter(java.io.Writer w, java.lang.Runnable thunk)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### withReader

    public static void withReader(java.io.Reader r,
                                  java.lang.Runnable thunk)

### withWriter

    public static void withWriter(java.io.Writer w,
                                  java.lang.Runnable thunk)

### withInputStream

    public static void withInputStream(java.io.InputStream s,
                                       java.lang.Runnable thunk)

### withOutputStream

    public static void withOutputStream(java.io.OutputStream s,
                                        java.lang.Runnable thunk)

### withClosable

    public static void withClosable(java.lang.Object closable,
                                    java.lang.Runnable thunk)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD