public class FileIO extends Object
Constructor and Description |
---|
FileIO() |
Modifier and Type | Method and Description |
---|---|
static String |
readFile(File file) |
static void |
writeToFile(File file,
String containment) |
static void |
writeToFile(String fileName,
String containment) |
public static final Charset CHARSET
public static String readFile(File file) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public static void writeToFile(File file, String containment) throws IOException
IOException
public static void writeToFile(String fileName, String containment) throws IOException
IOException
Copyright © 2001-2015 JRuby. All Rights Reserved.