eu.cedarsoft.utils
Class ZipExtractor.InvertedCondition

java.lang.Object
  extended by eu.cedarsoft.utils.ZipExtractor.InvertedCondition
All Implemented Interfaces:
ZipExtractor.Condition
Enclosing class:
ZipExtractor

public static class ZipExtractor.InvertedCondition
extends java.lang.Object
implements ZipExtractor.Condition

Inverts a condition


Constructor Summary
ZipExtractor.InvertedCondition(ZipExtractor.Condition condition)
          Creates a new inverted condition
 
Method Summary
 boolean shallExtract(java.util.zip.ZipEntry zipEntry)
          Returns whether the given entry shall be extracted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipExtractor.InvertedCondition

public ZipExtractor.InvertedCondition(@NotNull
                                      ZipExtractor.Condition condition)
Creates a new inverted condition

Parameters:
condition - the delegate that is inverted
Method Detail

shallExtract

public boolean shallExtract(@NotNull
                            java.util.zip.ZipEntry zipEntry)
Description copied from interface: ZipExtractor.Condition
Returns whether the given entry shall be extracted

Specified by:
shallExtract in interface ZipExtractor.Condition
Parameters:
zipEntry - the zip entry
Returns:
whether the entry shall be extracted


Copyright © 2007 Cedarsoft. All Rights Reserved.