org.entityfs.util.zip
Class FilteringZipEntryInfoProvider
java.lang.Object
org.entityfs.util.zip.FilteringZipEntryInfoProvider
- All Implemented Interfaces:
- ZipEntryInfoProvider
public class FilteringZipEntryInfoProvider
- extends Object
- implements ZipEntryInfoProvider
This ZipEntryInfoProvider
uses another provider to add information
only to the entities that pass its entity Filter
.
Instances of this class are immutable.
- Since:
- 1.0
- Author:
- Karl Gustafsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilteringZipEntryInfoProvider
public FilteringZipEntryInfoProvider(Filter<? super EntityView> f,
ZipEntryInfoProvider p)
addProperties
public void addProperties(ZipEntry ze,
Object o)
- Description copied from interface:
ZipEntryInfoProvider
- Add properties to the
ZipEntry
object based on the properties of
the entity.
- Specified by:
addProperties
in interface ZipEntryInfoProvider
- Parameters:
ze
- The ZipEntry
object to add properties to.o
- The object to add properties for. If this is a
ReadLockable
object, it is locked for reading
when this method is called.