Class Unzip
java.lang.Object
org.pf4j.util.Unzip
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidextract()Extract the content of zip file (source) to destination directory.voidsetDestination(File destination) void
-
Constructor Details
-
Unzip
public Unzip() -
Unzip
-
-
Method Details
-
setSource
-
setDestination
-
extract
Extract the content of zip file (source) to destination directory. If destination directory already exists it will be deleted before.- Throws:
IOException
-