Package org.codehaus.enunciate.util

Examples of org.codehaus.enunciate.util.JaxbPackageInfoWriter


   * @param bytecode          The bytecode for the package-info.class
   * @param packageSourceFile The source file.
   * @return Whether the file was actually written.
   */
  protected boolean writePackageSourceFile(InputStream bytecode, File packageSourceFile) throws IOException {
    JaxbPackageInfoWriter writer = new JaxbPackageInfoWriter();
    String info = writer.write(bytecode);
    if (info != null) {
      packageSourceFile.getParentFile().mkdirs();
      FileWriter out = new FileWriter(packageSourceFile);
      out.write(info);
      out.flush();
View Full Code Here

TOP

Related Classes of org.codehaus.enunciate.util.JaxbPackageInfoWriter

Copyright © 2018 www.massapicom. 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.