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 void |
closeQuietly(java.io.Closeable closeable)
Closes the target.
|
static java.util.Collection<java.lang.String> |
readLines(java.io.InputStream is) |
static void |
writeText(java.lang.String text,
java.io.File output)
Writes text to file
|
public static void writeText(java.lang.String text, java.io.File output)
public static java.util.Collection<java.lang.String> readLines(java.io.InputStream is)
public static void closeQuietly(java.io.Closeable closeable)
closeable
- the target, may be nullpublic static void close(java.io.Closeable closeable)
closeable
- the target, may be null