Class XMLPreprocessor


  • public final class XMLPreprocessor
    extends java.lang.Object
    This 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.String loadFile​(java.io.File f, IncludedDocuments includedDocuments)
      Loads a file from the disk.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • loadFile

        public static java.lang.String loadFile​(java.io.File f,
                                                IncludedDocuments includedDocuments)
                                         throws java.io.IOException
        Loads a file from the disk. Include marks are replaced with the content of the included files.
        Parameters:
        f - a File object.
        includedDocuments - a IncludedDocuments object.
        Returns:
        a String object.
        Throws:
        java.io.IOException - if any.