Class Packager

java.lang.Object
org.ek9lang.core.Packager

public final class Packager extends Object
Focus on the responsibility of packaging. i.e. zipping and unzipping.
  • Constructor Details

  • Method Details

    • createJar

      public boolean createJar(String fileName, List<ZipSet> sets)
      Create a compressed archive to file with zip sets.
    • unZipFileTo

      public boolean unZipFileTo(File zipFile, File unpackedDir)
      Unpacks a zip/jar file to a specific directory.
    • createZip

      public boolean createZip(String fileName, ZipSet set, File sourcePropertiesFile)
      Create a zip with the zip set and copy over the properties file.