Class JarTools

java.lang.Object
org.savantbuild.io.jar.JarTools

public class JarTools extends Object
Collection of JAR file tools.
  • Constructor Details

    • JarTools

      public JarTools()
  • Method Details

    • unjar

      public static void unjar(Path file, Path to) throws IOException
      Unzips a JAR file to a directory.
      Parameters:
      file - The JAR file to unjar.
      to - The directory to unjar to.
      Throws:
      IOException - If the unjar fails.