Package arcommon
Class ZipUtil.UnzipStep
- java.lang.Object
-
- arcommon.ZipUtil.UnzipStep
-
- All Implemented Interfaces:
ZipUtil.UnzipStepInterface
- Enclosing class:
- ZipUtil
public static class ZipUtil.UnzipStep extends java.lang.Object implements ZipUtil.UnzipStepInterface
-
-
Constructor Summary
Constructors Constructor Description UnzipStep(java.lang.String ptoPath, boolean pecho)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidunzipDirectory(java.lang.String fileName, java.util.zip.ZipEntry zipEntry)Called per directory contained in the ZIP file.voidunzipFile(java.lang.String fileName, java.util.zip.ZipEntry zipEntry, java.util.zip.ZipInputStream zipInputStream)Called per file contained in the ZIP file.voidunzipZipFile(java.lang.String zipFileName)Called at the start of unzipping a ZIP file.
-
-
-
Constructor Detail
-
UnzipStep
public UnzipStep(java.lang.String ptoPath, boolean pecho)
-
-
Method Detail
-
unzipZipFile
public void unzipZipFile(java.lang.String zipFileName)
Description copied from interface:ZipUtil.UnzipStepInterfaceCalled at the start of unzipping a ZIP file. Only called once per ZIP file.- Specified by:
unzipZipFilein interfaceZipUtil.UnzipStepInterface
-
unzipFile
public void unzipFile(java.lang.String fileName, java.util.zip.ZipEntry zipEntry, java.util.zip.ZipInputStream zipInputStream) throws java.io.IOException
Description copied from interface:ZipUtil.UnzipStepInterfaceCalled per file contained in the ZIP file.- Specified by:
unzipFilein interfaceZipUtil.UnzipStepInterface- Throws:
java.io.IOException
-
unzipDirectory
public void unzipDirectory(java.lang.String fileName, java.util.zip.ZipEntry zipEntry) throws java.io.IOException
Description copied from interface:ZipUtil.UnzipStepInterfaceCalled per directory contained in the ZIP file.- Specified by:
unzipDirectoryin interfaceZipUtil.UnzipStepInterface- Throws:
java.io.IOException
-
-