public class Lib
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
readFile(java.io.File file)
Read the content of the given file into a string.
|
public static java.lang.String readFile(java.io.File file) throws java.io.IOException
file
- the file to be readjava.io.IOException
- if an error occurs during read