public class Lib extends Object
public static String readFile(File file) throws IOException
file
- the file to be readIOException
- if an error occurs during readpublic static String readFile(String filename) throws IOException
filename
- the name of the file to be readIOException
- if an error occurs during readreadFile(File)