Package org.cyclos.server.utils
Class ZipHelper
- java.lang.Object
-
- org.cyclos.server.utils.ZipHelper
-
public class ZipHelper extends Object
Contains helper methods to handle ZIP files
-
-
Constructor Summary
Constructors Constructor Description ZipHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidextract(InputStream in, File outDir, FileFilter filter)Extract the given InputStream representing a zip file to the given output directory, using the given FileFilter (which may be null)
-
-
-
Method Detail
-
extract
public static void extract(InputStream in, File outDir, FileFilter filter) throws IOException
Extract the given InputStream representing a zip file to the given output directory, using the given FileFilter (which may be null)- Throws:
IOException
-
-