public class TextUtils extends Object
| Constructor and Description |
|---|
TextUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
fileToString(File file)
Wrapper for calling Apache Commons IO toString(BufferedReader)
on a File, essentially providing a File.toString() method for
the contents of a text file.
|
public static String fileToString(File file) throws IOException
file - File to be string-ifiedIOExceptionCopyright © 2012–2014 Berico Technologies. All rights reserved.