Examples of JaxbJobWriter


Examples of org.eobjects.analyzer.job.JaxbJobWriter

      String author = _userPreferences.getUsername();
      String jobName = null;
      String jobDescription = "Created with DataCleaner " + Main.VERSION;
      String jobVersion = null;

      final JaxbJobWriter writer = new JaxbJobWriter(new JaxbJobMetadataFactoryImpl(author, jobName, jobDescription,
          jobVersion));

      BufferedOutputStream outputStream = null;
      try {
        outputStream = new BufferedOutputStream(new FileOutputStream(file));
        writer.write(analysisJob, outputStream);
        outputStream.flush();
        outputStream.close();
      } catch (IOException e1) {
        throw new IllegalStateException(e1);
      } finally {
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.