gpt4 book ai didi

com.sun.codemodel.writer.ZipCodeWriter类的使用及代码示例

转载 作者:知者 更新时间:2024-03-14 05:19:31 25 4
gpt4 key购买 nike

本文整理了Java中com.sun.codemodel.writer.ZipCodeWriter类的一些代码示例,展示了ZipCodeWriter类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZipCodeWriter类的具体详情如下:
包路径:com.sun.codemodel.writer.ZipCodeWriter
类名称:ZipCodeWriter

ZipCodeWriter介绍

[英]Writes all the files into a zip file.
[中]将所有文件写入zip文件。

代码示例

代码示例来源:origin: com.unquietcode.tools.jcodemodel/codemodel

public OutputStream openBinary(JPackage pkg, String fileName) throws IOException {
  String name = fileName;
  if(!pkg.isUnnamed())    name = toDirName(pkg)+name;
  
  zip.putNextEntry(new ZipEntry(name));
  return filter;
}

代码示例来源:origin: org.andromda.thirdparty.jaxb2_commons/jaxb-xjc

os = new FileOutputStream(opt.targetDir);
  cw = opt.createCodeWriter(new ZipCodeWriter(os));
} else
  cw = opt.createCodeWriter();

代码示例来源:origin: sun-jaxb/jaxb-xjc

os = new FileOutputStream(opt.targetDir);
  cw = opt.createCodeWriter(new ZipCodeWriter(os));
} else
  cw = opt.createCodeWriter();

代码示例来源:origin: com.sun.codemodel/codemodel

public OutputStream openBinary(JPackage pkg, String fileName) throws IOException {
  String name = fileName;
  if(!pkg.isUnnamed())    name = toDirName(pkg)+name;
  
  zip.putNextEntry(new ZipEntry(name));
  return filter;
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-xjc

os = new FileOutputStream(opt.targetDir);
  cw = opt.createCodeWriter(new ZipCodeWriter(os));
} else
  cw = opt.createCodeWriter();

代码示例来源:origin: org.glassfish.metro/webservices-tools

@Override
public OutputStream openBinary(JPackage pkg, String fileName) throws IOException {
  final String name = pkg == null || pkg.isUnnamed() ? fileName : toDirName(pkg)+fileName;
  zip.putNextEntry(new ZipEntry(name));
  return filter;
}

代码示例来源:origin: apache/servicemix-bundles

os = new FileOutputStream(opt.targetDir);
  cw = opt.createCodeWriter(new ZipCodeWriter(os));
} else
  cw = opt.createCodeWriter();

代码示例来源:origin: sun-jaxb/jaxb-xjc

public OutputStream openBinary(JPackage pkg, String fileName) throws IOException {
  String name = fileName;
  if(!pkg.isUnnamed())    name = toDirName(pkg)+name;
  
  zip.putNextEntry(new ZipEntry(name));
  return filter;
}

代码示例来源:origin: org.glassfish.metro/webservices-tools

os = new FileOutputStream(opt.targetDir);
  cw = opt.createCodeWriter(new ZipCodeWriter(os));
} else
  cw = opt.createCodeWriter();

代码示例来源:origin: javaee/jaxb-v2

@Override
public OutputStream openBinary(JPackage pkg, String fileName) throws IOException {
  final String name = pkg == null || pkg.isUnnamed() ? fileName : toDirName(pkg)+fileName;
  zip.putNextEntry(new ZipEntry(name));
  return filter;
}

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com