|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flexiblewebsolutions.io.util.FileUtils
public class FileUtils
Utility methods for reading and writing files
| Constructor Summary | |
|---|---|
FileUtils()
|
|
| Method Summary | |
|---|---|
java.lang.StringBuffer |
loadXMLFileToString(java.io.File pFile)
Reads in xml from file, removes commented out text, and then loads result into a StringBuffer. |
void |
writeFile(java.io.File pFile,
java.lang.StringBuffer pData)
Write contents of a StringBuffer to file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileUtils()
| Method Detail |
|---|
public java.lang.StringBuffer loadXMLFileToString(java.io.File pFile)
pFile - XML file
public void writeFile(java.io.File pFile,
java.lang.StringBuffer pData)
pFile - -
Name of file to be writtenpData - -
File data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||