public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static StringBuilder |
readXmlFile(File outFile)
Reads a file into a String.
|
static void |
writeXmlFile(File outFile,
StringBuilder input)
Writes a StringBuffer into a file.
|
public static StringBuilder readXmlFile(File outFile) throws IOException
outFile - The file to read.IOException - when things go wrong.public static void writeXmlFile(File outFile, StringBuilder input) throws IOException
outFile - The file to read.input - The contents of the file.IOException - when things go wrong.Copyright © 2011-2013 Codehaus. All Rights Reserved.