Package ru.concerteza.util.archive

Examples of ru.concerteza.util.archive.ZipFunction


                resStream = RESOURCE_LOADER.getResource("classpath:/launchers/x64/install.exe").getInputStream();
            } else {
                resStream = RESOURCE_LOADER.getResource("classpath:/launchers/x86/install.exe").getInputStream();
            }
            copyLarge(resStream, zip);
            ZipFunction zipper = new ZipFunction(jre, prefix + "/jre", zip);
            Collection<File> files = listFiles(jre, true);
            Collection<String> zipped = Collections2.transform(files, zipper);
            fireTransform(zipped);
            getLog().info("Installer written to: [" + installerOutputFile.getPath() + "]");
        } finally {
View Full Code Here


                resStream = RESOURCE_LOADER.getResource(installLauncher64Path).getInputStream();
            } else {
                resStream = RESOURCE_LOADER.getResource(installLauncher32Path).getInputStream();
            }
            copyLarge(resStream, zip);
            ZipFunction zipper = new ZipFunction(jre, prefix + "/jre", zip);
            Collection<File> files = listFiles(jre, true);
            Collection<String> zipped = Collections2.transform(files, zipper);
            fireTransform(zipped);
            getLog().info("Installer written to: [" + installerOutputFile.getPath() + "]");
        } finally {
View Full Code Here

                resStream = RESOURCE_LOADER.getResource("classpath:/launchers/x64/install.exe").getInputStream();
            } else {
                resStream = RESOURCE_LOADER.getResource("classpath:/launchers/x86/install.exe").getInputStream();
            }
            copyLarge(resStream, zip);
            ZipFunction zipper = new ZipFunction(jre, prefix + "/jre", zip);
            Collection<File> files = listFiles(jre, true);
            Collection<String> zipped = Collections2.transform(files, zipper);
            fireTransform(zipped);
            getLog().info("Installer written to: [" + installerOutputFile.getPath() + "]");
        } finally {
View Full Code Here

TOP

Related Classes of ru.concerteza.util.archive.ZipFunction

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.