|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epochx.util.FileManip
public class FileManip
The File Manip class controls all text output and input file requirements
| Constructor Summary | |
|---|---|
FileManip()
|
|
| Method Summary | |
|---|---|
static void |
deleteOld(java.io.File cDir,
java.lang.String fName)
This method deletes a file |
static void |
doOutput(java.io.File cDir,
java.util.ArrayList<java.lang.String> infoToSave,
java.lang.String fileName,
boolean append)
This method controls sending information files |
static java.util.List<java.lang.String> |
loadInput(java.io.File fileToLoad)
Loads an input file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileManip()
| Method Detail |
|---|
public static void doOutput(java.io.File cDir,
java.util.ArrayList<java.lang.String> infoToSave,
java.lang.String fileName,
boolean append)
cDir - A file object representing the directory to send the output files to.infoToSave - An ArrayListfileName - A String which will be the name of the output file.append - True if you want information to be added to the file and false if you want the
file to be overwrittenpublic static java.util.List<java.lang.String> loadInput(java.io.File fileToLoad)
fileToLoad - the input file to load.
public static void deleteOld(java.io.File cDir,
java.lang.String fName)
cDir - A File object representing the location fo the file to be deletedfName - The name of the file to be deleted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||