public synchronized void store(Document doc,File file) throws IOException {
  store(doc,ResourceUtil.toResource(file));
}

public synchronized void store ( Document doc , File file ) throws IOException { store ( doc , ResourceUtil . toResource ( file ) ) ; }
store loaded data to xml file
