org.knime.core.util
Interface FileUtil.ZipFileFilter
- Enclosing class:
- FileUtil
public static interface FileUtil.ZipFileFilter
Passed to the
FileUtil.zipDir(File, Collection, int, ZipFileFilter,
ExecutionMonitor)
method to exclude certain files from being archived and added to the zip
file.
A default implementation accepting all files is
FileUtil.ZIP_INCLUDEALL_FILTER
Method Summary |
boolean |
include(File f)
Called with each file in the to-be-zipped directory. |
include
boolean include(File f)
- Called with each file in the to-be-zipped directory.
- Parameters:
f
- the to be added to the zip archive.
- Returns:
- true, if the file should be added to the zip file, false, if
it should be skipped/excluded.
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.