Top Constructors Methods
com.mchange.io

public final Class FileUtils

extends Object
Class Inheritance
Imports
java.io.*

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static byte[]
getBytes(File file, int max_len)

public static byte[]
getBytes(File file)

public static String
public static String
public static String
getContentsAsString(File file, int max_len, String enc)

public static String
getContentsAsString(File file, int max_len)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

FileUtilsback to summary
private FileUtils()

Method Detail

getBytesback to summary
public static byte[] getBytes(File file, int max_len) throws IOException
getBytesback to summary
public static byte[] getBytes(File file) throws IOException
getContentsAsStringback to summary
public static String getContentsAsString(File file, String enc) throws IOException, UnsupportedEncodingException
getContentsAsStringback to summary
public static String getContentsAsString(File file) throws IOException
getContentsAsStringback to summary
public static String getContentsAsString(File file, int max_len, String enc) throws IOException, UnsupportedEncodingException
getContentsAsStringback to summary
public static String getContentsAsString(File file, int max_len) throws IOException