public class FileUtils extends Object
| Constructor and Description |
|---|
FileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
read(File file) |
static String |
read(String path) |
static void |
write(File file,
String string)
Writes the String to the file using UTF-8.
|
static void |
write(String path,
String string)
Writes the String to the file using UTF-8.
|
public static final void write(String path, String string) throws IOException
IOExceptionpublic static final void write(File file, String string) throws IOException
IOExceptionpublic static final String read(String path) throws IOException
IOExceptionpublic static final String read(File file) throws IOException
IOExceptionCopyright © 2016 The American National Corpus. All rights reserved.