public final class FileUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
fileReadAll(java.lang.String file)
Reads the whole file and returns it as a String.
|
static java.lang.String |
fileReadLine(java.lang.String file)
Returns the first line from the file.
|
public static java.lang.String fileReadLine(java.lang.String file)
null if the operation failed for any reason.public static java.lang.String fileReadAll(java.lang.String file)
file - The file path.null if the operation failed.