public class IOUtil
extends java.lang.Object
| Constructor and Description |
|---|
IOUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
close(java.io.Closeable closeable)
Closes the target.
|
static java.lang.String |
readFully(java.io.File input)
Reads string from the file
|
static java.lang.String |
readFully(java.io.InputStream stream)
Reads string from the stream and closes it
|
static void |
writeFile(java.io.File target,
java.lang.String content) |
public static java.lang.String readFully(java.io.File input)
public static java.lang.String readFully(java.io.InputStream stream)
public static void close(java.io.Closeable closeable)
closeable - the target, may be nullpublic static void writeFile(java.io.File target,
java.lang.String content)