|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gshute.ioutil.TextIO
Class TextIO provides utility methods for reading and writing files as strings.
Method Summary | |
static java.lang.String |
readText(java.lang.String fname)
TextIO.readText(fname) the contents of the file named fname as a string. |
static void |
writeText(java.lang.String txt,
java.lang.String fname)
TextIO.writeText(txt, fname) writes txt to the file named fname. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static java.lang.String readText(java.lang.String fname) throws java.io.IOException
public static void writeText(java.lang.String txt, java.lang.String fname) throws java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |