data-collector/src/main/java/se/kth/depclean/experiments/util/JarUtils.java
/**
     * Decompress all jar files located in a given directory.
     *
     * @param outputDirectory The path to the output directory
     */
Decompress all jar files located in a given directory.
@param outputDirectory The path to the output directory
Decompress all jar files located in a given directory . @param outputDirectory The path to the output directory
public static void decompressJars(String outputDirectory) {
        File files = new File(outputDirectory);
        for (File f : files.listFiles()) {
            if (f.getName().endsWith(".jar")) {
                try {
                    JarUtils.decompressJarFile(outputDirectory, f.getAbsolutePath());
                    f.delete();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
        }
    }
public static void decompressJars ( String outputDirectory ) { File files = new File ( outputDirectory ) ; for ( File f : files . listFiles ( ) ) { if ( f . getName ( ) . endsWith ( ".jar" ) ) { try { JarUtils . decompressJarFile ( outputDirectory , f . getAbsolutePath ( ) ) ; f . delete ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } } } }
Decompress all jar files located in a given directory.
Decompress all jar files located in a given directory .
// delete the original dependency jar file