Examples of JSXMLFile


Examples of com.sos.JSHelper.io.Files.JSXMLFile

   * @param pstrXMLFileName - The name (including path) of the XML-File
   */
  public JSXMLFile toXMLFile(String pstrXMLFileName) {
    @SuppressWarnings("unused")
    final String conMethodName = conClassName + "::toXMLFile";
    JSXMLFile objXF;
    try {
      objXF = new JSXMLFile(pstrXMLFileName);
      objXF.writeXMLDeclaration();
      objXF.comment(String.format("Created by %1$s", conClassName));
      objXF.Write(this.toXML());
      objXF.close();
    }
    catch (Exception e) {
      throw new JobSchedulerException("Exception:", e);
    }
    return objXF;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.