Package org.eclipse.jetty.toolchain.test
Class JAR
java.lang.Object
org.eclipse.jetty.toolchain.test.JAR
Deprecated, for removal: This API element is subject to removal in a future version.
use ZipFS
Basic functions for working with JAR files in test cases.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateJAR()Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated, for removal: This API element is subject to removal in a future version.Close a JAR file.static voidDeprecated, for removal: This API element is subject to removal in a future version.Create a JAR file out of the contents of a specific directory (recursively)private static voidpackDir(File baseDir, File srcDir, JarOutputStream jarout) Deprecated, for removal: This API element is subject to removal in a future version.static voidDeprecated, for removal: This API element is subject to removal in a future version.Unpack JAR file into destination directory.private static voidDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
JAR
private JAR()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
unpack
Deprecated, for removal: This API element is subject to removal in a future version.Unpack JAR file into destination directory.- Parameters:
jarFile- the jar file to unpackdestDir- the destination directory to unpack into- Throws:
IOException- if unable to unpack jar file.
-
unpack
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
close
Deprecated, for removal: This API element is subject to removal in a future version.Close a JAR file.- Parameters:
jar- the JarFile to close
-
create
Deprecated, for removal: This API element is subject to removal in a future version.Create a JAR file out of the contents of a specific directory (recursively)- Parameters:
srcDir- the source directoryjarFile- the destination jar file to create- Throws:
IOException- if unable to create the jar file, or read the source directory
-
packDir
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-