Class XMLPreprocessor
- java.lang.Object
-
- net.anotheria.asg.generator.parser.XMLPreprocessor
-
public final class XMLPreprocessor extends java.lang.ObjectThis class preprocess an xml file. Its mainly used to put together a splitted xml file.- Version:
- $Id: $Id
- Author:
- another
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringloadFile(java.io.File f, IncludedDocuments includedDocuments)Loads a file from the disk.
-
-
-
Method Detail
-
loadFile
public static java.lang.String loadFile(java.io.File f, IncludedDocuments includedDocuments) throws java.io.IOExceptionLoads a file from the disk. Include marks are replaced with the content of the included files.- Parameters:
f- aFileobject.includedDocuments- aIncludedDocumentsobject.- Returns:
- a
Stringobject. - Throws:
java.io.IOException- if any.
-
-