public final class IO
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.io.PrintStream |
err |
static java.io.InputStream |
in |
static java.io.PrintStream |
out |
Modifier and Type | Method and Description |
---|---|
static boolean |
array2File(java.lang.String[] array,
java.io.File file) |
static boolean |
array2File(java.lang.String[] array,
java.io.File file,
boolean append) |
static boolean |
b64String2File(java.lang.String b64String,
java.io.File file) |
static boolean |
b64String2File(java.lang.String b64String,
java.lang.String filename) |
static java.lang.String |
chooseFile(java.awt.Component parent) |
static java.lang.String |
chooseFile(java.awt.Component parent,
java.lang.String directory) |
static boolean |
collection2File(java.util.Collection<?> collection,
java.lang.String filename,
Closure closure,
boolean append) |
static void |
copyFile(java.io.File sourceFile,
java.io.File destFile) |
static boolean |
deleteFile(java.lang.String filename) |
static java.lang.String[] |
file2Array(java.lang.String filename,
boolean skipblanks) |
static java.util.ArrayList<java.lang.String> |
file2ArrayList(java.lang.String filename,
boolean skipblanks) |
static java.lang.String |
file2B64String(java.io.File file) |
static java.lang.String |
file2B64String(java.lang.String filename) |
static boolean |
file2Collection(java.util.Collection<java.lang.Object> collection,
java.lang.String filename,
Closure closure,
boolean skipblanks) |
static java.lang.String |
file2String(java.io.File file) |
static java.lang.String |
file2String(java.io.File file,
char comment) |
static java.lang.String |
file2String(java.lang.String filename) |
static java.lang.String |
file2String(java.lang.String filename,
char comment) |
static java.lang.String |
interpretTilde(java.lang.String string) |
static boolean |
mapFile(java.lang.String filename,
Closure closure,
boolean skipblanks) |
static java.lang.String |
reader2String(java.io.Reader r) |
static java.lang.String |
readln() |
static java.lang.String |
resolveLinks(java.lang.String raw_path) |
static boolean |
screenshot(java.awt.Component parent,
java.lang.String imageFormat,
java.lang.String filename) |
static void |
setIO(java.io.InputStream inP,
java.io.PrintStream outP,
java.io.PrintStream errP) |
static boolean |
string2File(java.lang.String string,
java.io.File file) |
static boolean |
string2File(java.lang.String string,
java.lang.String filename) |
static boolean |
string2File(java.lang.String string,
java.lang.String filename,
boolean append) |
public static java.io.InputStream in
public static java.io.PrintStream out
public static java.io.PrintStream err
public static void setIO(java.io.InputStream inP, java.io.PrintStream outP, java.io.PrintStream errP)
public static boolean deleteFile(java.lang.String filename)
public static java.lang.String resolveLinks(java.lang.String raw_path)
public static java.lang.String interpretTilde(java.lang.String string)
public static boolean mapFile(java.lang.String filename, Closure closure, boolean skipblanks)
public static boolean file2Collection(java.util.Collection<java.lang.Object> collection, java.lang.String filename, Closure closure, boolean skipblanks)
public static java.lang.String[] file2Array(java.lang.String filename, boolean skipblanks)
public static java.util.ArrayList<java.lang.String> file2ArrayList(java.lang.String filename, boolean skipblanks)
public static java.lang.String file2String(java.io.File file, char comment)
public static java.lang.String file2String(java.lang.String filename, char comment)
public static java.lang.String file2String(java.io.File file)
public static java.lang.String file2String(java.lang.String filename)
public static java.lang.String reader2String(java.io.Reader r)
public static java.lang.String readln()
public static boolean collection2File(java.util.Collection<?> collection, java.lang.String filename, Closure closure, boolean append)
public static boolean array2File(java.lang.String[] array, java.io.File file)
public static boolean array2File(java.lang.String[] array, java.io.File file, boolean append)
public static boolean string2File(java.lang.String string, java.io.File file)
public static boolean string2File(java.lang.String string, java.lang.String filename)
public static boolean string2File(java.lang.String string, java.lang.String filename, boolean append)
public static boolean b64String2File(java.lang.String b64String, java.io.File file)
public static boolean b64String2File(java.lang.String b64String, java.lang.String filename)
public static java.lang.String file2B64String(java.io.File file)
public static java.lang.String file2B64String(java.lang.String filename)
public static java.lang.String chooseFile(java.awt.Component parent)
public static java.lang.String chooseFile(java.awt.Component parent, java.lang.String directory)
public static boolean screenshot(java.awt.Component parent, java.lang.String imageFormat, java.lang.String filename)
public static void copyFile(java.io.File sourceFile, java.io.File destFile) throws java.io.IOException
java.io.IOException