|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sjm.utensil.FileString
This class has a static method that returns a file's characters as a single String.
Constructor Summary | |
FileString()
|
Method Summary | |
static java.lang.String |
stringFromFileNamed(java.lang.String fileName)
Returns a string that represents the contents of a file. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public FileString()
Method Detail |
public static java.lang.String stringFromFileNamed(java.lang.String fileName) throws java.io.IOException
fileName
- the name of the file to readjava.io.IOException
- if the file is not found, or if there is
any problem reading the file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |