Core/src/main/java/org/openestate/io/core/XmlUtils.java
public static void write(Document doc, File file) throws TransformerException, IOException {
        XmlUtils.write(doc, file, true);
    }
public static void write(Document doc, File file) throws TransformerException, IOException {
        XmlUtils.write(doc, file, true);
    }
public static void write ( Document doc , File file ) throws TransformerException , IOException { XmlUtils . write ( doc , file , true ) ; }
Write a {@link Document} to a {@link File}.

@param doc  the document to write
@param file the file, where the document is written to
@throws TransformerException if XML transformation failed
@throws IOException          if writing failed
Write a { @link Document } to a { @link File } .