Package com.logicaldoc.util.io
Class JarUtil
java.lang.Object
com.logicaldoc.util.io.JarUtil
This class is for handling with jar-files.
- Version:
- 4.0
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
JarUtil
public JarUtil()
-
-
Method Details
-
unjar
This method extracts all entries of a jar-file.- Parameters:
jarsource
- Path of the jar-file.target
- Path of the extracted files.- Returns:
- True if successfully extracted.
-
unjar
This method extracts one entry of a jar-file.- Parameters:
jarsource
- Path of the jar-file.target
- Path of the extracted files.entry
- Name of the entry to be extracted.- Returns:
- True if successfully extracted.
-