Package de.isas.mztab2.test.utils
Class ZipResourceExtractor
- java.lang.Object
-
- de.isas.mztab2.test.utils.ZipResourceExtractor
-
public class ZipResourceExtractor extends Object
ZipResourceExtractor class.
- Author:
- nilshoffmann
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File
extract(String resourcePath, File destDir)
Extract a JAR resource into the provided destination directory and return that extracted resource's location as a file.static File
extractZipArchive(InputStream istream, File outputDir)
extractZipArchive.
-
-
-
Method Detail
-
extract
public static File extract(String resourcePath, File destDir)
Extract a JAR resource into the provided destination directory and return that extracted resource's location as a file.
-
extractZipArchive
public static File extractZipArchive(InputStream istream, File outputDir)
extractZipArchive.
- Parameters:
istream
- aInputStream
object.outputDir
- aFile
object.- Returns:
- a
File
object.
-
-