|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.incava.io.FileExt
public class FileExt
| Constructor Summary | |
|---|---|
FileExt()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
readFile(java.io.File file,
java.lang.String arg)
Reads the file into a single string, which is null on error.The arg argument is just so we can overload based on return
type. |
static java.lang.String[] |
readFile(java.io.File file,
java.lang.String[] arg)
Reads the file into a string array, without end-of-line characters (sequences). |
static java.lang.String |
readFile(java.lang.String fileName,
java.lang.String arg)
Reads the file into a single string, which is null on error. |
static java.lang.String[] |
readFile(java.lang.String fileName,
java.lang.String[] arg)
Reads the file into a string array, without end-of-line characters (sequences). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileExt()
| Method Detail |
|---|
public static java.lang.String readFile(java.lang.String fileName,
java.lang.String arg)
arg argument
is just so we can overload based on return type.
public static java.lang.String[] readFile(java.lang.String fileName,
java.lang.String[] arg)
arg argument is
just so we can overload based on return type.
public static java.lang.String readFile(java.io.File file,
java.lang.String arg)
arg argument is just so we can overload based on return
type.
public static java.lang.String[] readFile(java.io.File file,
java.lang.String[] arg)
arg argument is just so we can overload
based on return type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||