public class IOUtil extends Object
Constructor and Description |
---|
IOUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
close(Closeable closeable)
Closes the target.
|
static void |
closeQuietly(Closeable closeable)
Closes the target.
|
static Collection<String> |
readLines(InputStream is) |
static void |
writeText(String text,
File output)
Writes text to file
|
public static Collection<String> readLines(InputStream is)
public static void closeQuietly(Closeable closeable)
closeable
- the target, may be nullpublic static void close(Closeable closeable)
closeable
- the target, may be null