|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jamonapi.utils.FileUtils
public class FileUtils
Reusable Utilities used for File manipulations such as reading a file as a String.
Constructor Summary | |
---|---|
FileUtils()
|
Method Summary | |
---|---|
static java.lang.String |
getFileContents(java.lang.String fileName)
Read text files contents in as a String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileUtils()
Method Detail |
---|
public static java.lang.String getFileContents(java.lang.String fileName) throws java.io.FileNotFoundException, java.io.IOException
Sample Call: String contents=FileUtils.getFileContents("autoexec.bat");
java.io.FileNotFoundException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |