org.entityfs.util.zip
Interface ZipEntryInfoProvider
- All Known Implementing Classes:
- CompoundZipEntryInfoProvider, FilteringZipEntryInfoProvider
public interface ZipEntryInfoProvider
Implementations of this class are used by ZipEntryInfoImpl to provide
extra information to created ZipEntry based on properties of an
Entity. Implementations can be used together with the
EntityIteratorToZipEntryInfoIteratorAdapter.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- See Also:
ZipEntryInfo,
EntityIteratorToZipEntryInfoIteratorAdapter,
ZipEntryInfoProviders
addProperties
void addProperties(ZipEntry ze,
Object o)
- Add properties to the
ZipEntry object based on the properties of
the entity.
- 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.