How to put the content of a JDom document into a File object?

62 views Asked by At

if I have a JDom Document as this one:

Document configDocument = configHelper.getConfigDocument();

What can I do to put its content into a File object?

Tnx

Andrea

1

There are 1 answers

0
McDowell On

Use an XMLOutputer with a FileOutputStream.