com.ebmwebsourcing.easycommons.io
Class ZipHelper
java.lang.Object
com.ebmwebsourcing.easycommons.io.ZipHelper
public class ZipHelper
- extends Object
- Author:
- Marc Jambert - EBM WebSourcing
|
Method Summary |
static void |
extractEntriesFromArchive(ZipFile archive,
String entryNamePrefix,
File destDir)
Extract all the archive entries with a name starting with the specified
name prefix to the specified destination directory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipHelper
public ZipHelper()
extractEntriesFromArchive
public static void extractEntriesFromArchive(ZipFile archive,
String entryNamePrefix,
File destDir)
throws IOException
- Extract all the archive entries with a name starting with the specified
name prefix to the specified destination directory
- Parameters:
archive - the archive which contains the entries to extractentryNamePrefix - the name prefix of entries to extract from the archiveabsoluteDestDir - the directory to extract the archive entries
- Throws:
IOException - if an I/O entry has occurred
Copyright © 2015 Petals Link. All rights reserved.