public class JarStripper
extends java.lang.Object
| Constructor and Description |
|---|
JarStripper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
stripJar(java.nio.file.Path input,
java.nio.file.Path output,
java.util.function.Predicate<java.nio.file.Path> predicate)
Copes every element in a Jar file from the input to the Jar file output, where every
element must match the provided
Predicate. |
public static void stripJar(java.nio.file.Path input,
java.nio.file.Path output,
java.util.function.Predicate<java.nio.file.Path> predicate)
throws java.io.IOException
Predicate.input - The Input Path. This should exist.output - The Output Path. This should not exists.predicate - The Predicate that each Entry must match.java.io.IOException - If something went wrong during execution.