|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--solar.util.FileUtil
Some utilities regarding files.
Constructor Summary | |
FileUtil()
|
Method Summary | |
static java.lang.String |
getContent(java.io.File file)
Return the content of a file as a string. |
private static java.lang.String |
getContent(java.io.FileReader fr)
|
static java.lang.String |
getContent(java.lang.String filename)
Return the content of a file as a string. |
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 getContent(java.lang.String filename) throws java.io.IOException
java.io.IOException
public static java.lang.String getContent(java.io.File file) throws java.io.IOException
java.io.IOException
private static java.lang.String getContent(java.io.FileReader fr) throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |