Class JarRepack
java.lang.Object
fr.ens.biologie.genomique.eoulsan.util.JarRepack
This class allow to repackage a jar file.
- Since:
- 1.0
- Author:
- Laurent Jourdren
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JarRepack
Public constructor.- Parameters:
inFile- the source jar file to repackageoutFile- the path to the new repackaged file- Throws:
IOException- if an error occurs while opening the source jar file
-
-
Method Details
-
addFile
Add a file to the jar file.- Parameters:
file- file to adddestDir- destination in the jar file- Throws:
IOException- if an error occurs while adding the file
-
close
Close the repackaged file.- Throws:
IOException- if an error occurs while closing the repackaged file
-