Class Unzip

java.lang.Object
org.pf4j.util.Unzip

public class Unzip extends Object
This class extracts the content of the plugin zip into a directory. It's a class for only the internal use.
Author:
Decebal Suiu
  • Constructor Details

    • Unzip

      public Unzip()
    • Unzip

      public Unzip(File source, File destination)
  • Method Details

    • setSource

      public void setSource(File source)
    • setDestination

      public void setDestination(File destination)
    • extract

      public void extract() throws IOException
      Extract the content of zip file (source) to destination directory. If destination directory already exists it will be deleted before.
      Throws:
      IOException