|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.tomp.util.io.FileUtil
public class FileUtil
File utilities, such as getting whole file content as String.
Constructor Summary | |
---|---|
FileUtil()
|
Method Summary | |
---|---|
static java.lang.String |
getFileContent(java.io.File f)
|
static java.lang.String |
getFileContent(java.net.URL u)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileUtil()
Method Detail |
---|
public static java.lang.String getFileContent(java.io.File f) throws java.io.IOException
f
- file to be read
java.io.IOException
public static java.lang.String getFileContent(java.net.URL u) throws java.io.IOException
u
- file identified by URL
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |