|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.hccp.util.FileUtility
Misc. static utiliy methods for file system I/O.
| Constructor Summary | |
FileUtility()
|
|
| Method Summary | |
static java.lang.String[] |
getFileLinesAsStringArray(java.io.File file)
Takes a file and returns a String array, where each element
in the array is a line from the file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileUtility()
| Method Detail |
public static java.lang.String[] getFileLinesAsStringArray(java.io.File file)
throws java.io.IOException
String array, where each element
in the array is a line from the file.
file - the file to be read
String objects
an - IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||