equalContent
public static boolean equalContent(File file,
byte[] content)
throws IOException
load
public static byte[] load(File file)
throws IOException
load
public static byte[] load(InputStream in)
throws IOException
load
public static byte[] load(InputStream in,
int initialBufferSize)
throws IOException
loadAsText
public static String loadAsText(InputStream in,
String encoding)
throws IOException
loadAsText
public static String loadAsText(InputStream in,
String encoding,
int bufferSize)
throws IOException
loadExact
public static byte[] loadExact(InputStream in,
int length)
throws IOException
loadStrings
public static java.util.List loadStrings(File file)
throws IOException
readLine
public static String readLine(InputStream in)
throws IOException
Reads line without buffering.
save
public static void save(File file,
byte[] content)
throws IOException
saveStrings
public static void saveStrings(File file,
java.util.Collection list)
throws IOException
touch
public static void touch(File file)