public final class Utils
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 |
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
bytes2File(java.lang.String filename,
byte[] bytes,
boolean append) |
static byte[] |
file2Bytes(java.lang.String filename) |
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 java.lang.String |
reader2String(java.io.Reader r) |
static java.lang.String |
resolveLinks(java.lang.String raw_path) |
public static java.io.InputStream in
public static java.io.PrintStream out
public static java.io.PrintStream err
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 reader2String(java.io.Reader r)
public static java.lang.String file2String(java.lang.String filename)
public static java.lang.String interpretTilde(java.lang.String string)
public static java.lang.String resolveLinks(java.lang.String raw_path)
public static byte[] file2Bytes(java.lang.String filename)
public static boolean bytes2File(java.lang.String filename, byte[] bytes, boolean append)