Package com.facebook.presto.hive.shaded.org.apache.commons.compress.archivers.jar

Examples of com.facebook.presto.hive.shaded.org.apache.commons.compress.archivers.jar.JarArchiveEntry


    File testArchive = new File(ioTempFile, jarId + ".jar");
    JarArchiveOutputStream out = null;
    try {
      out = new JarArchiveOutputStream(new FileOutputStream(testArchive));
      for (File f: destination.listFiles()){
        JarArchiveEntry jentry = new JarArchiveEntry(f.getName());
        FileInputStream fis = new FileInputStream(f);
        out.putArchiveEntry(jentry);
        IOUtils.copy(fis, out);
        fis.close();
        out.closeArchiveEntry();
View Full Code Here

TOP

Related Classes of com.facebook.presto.hive.shaded.org.apache.commons.compress.archivers.jar.JarArchiveEntry

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.