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.- Throws:
IOException
- I/O Error
-
unjar
This method extracts one entry of a jar-file.- Parameters:
jarsource
- Path of the jar-file.target
- Path of the extracted file.entry
- Name of the entry to be extracted.- Throws:
IOException
- I/O Error
-