Package org.burningwave.core.io
Interface IterableZipContainer
- All Superinterfaces:
AutoCloseable,Closeable,Identifiable
- All Known Implementing Classes:
ZipInputStream
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic IterableZipContainerstatic IterableZipContainerstatic IterableZipContainercreate(String absolutePath, InputStream inputStream) static IterableZipContainercreate(String absolutePath, ByteBuffer bytes) static IterableZipContainercreate(FileInputStream file) static IterableZipContainercreate(IterableZipContainer.Entry zipEntry) static IterableZipContainercreateZipFile(String absolutePath, ByteBuffer bytes) default voiddestroy()default voiddestroy(boolean removeFromCache) default IterableZipContainerdefault Collection<IterableZipContainer.Entry> findAll(Predicate<IterableZipContainer.Entry> zipEntryPredicate, Predicate<IterableZipContainer.Entry> loadZipEntryData) default Collection<IterableZipContainer.Entry> findAll(Supplier<Collection<IterableZipContainer.Entry>> setSupplier, Predicate<IterableZipContainer.Entry> zipEntryPredicate, Predicate<IterableZipContainer.Entry> loadZipEntryData) default <T> Collection<T> findAllAndConvert(Predicate<IterableZipContainer.Entry> zipEntryPredicate, Function<IterableZipContainer.Entry, T> tSupplier, Predicate<IterableZipContainer.Entry> loadZipEntryData) default <T> Collection<T> findAllAndConvert(Supplier<Collection<T>> supplier, Predicate<IterableZipContainer.Entry> zipEntryPredicate, Function<IterableZipContainer.Entry, T> tSupplier, Predicate<IterableZipContainer.Entry> loadZipEntryData) default IterableZipContainer.EntryfindFirst(Predicate<IterableZipContainer.Entry> zipEntryPredicate, Predicate<IterableZipContainer.Entry> loadZipEntryData) default <T> TfindFirstAndConvert(Predicate<IterableZipContainer.Entry> zipEntryPredicate, Function<IterableZipContainer.Entry, T> tSupplier, Predicate<IterableZipContainer.Entry> loadZipEntryData) default IterableZipContainer.EntryfindOne(Predicate<IterableZipContainer.Entry> zipEntryPredicate, Predicate<IterableZipContainer.Entry> loadZipEntryData) default <T> TfindOneAndConvert(Predicate<IterableZipContainer.Entry> zipEntryPredicate, Function<IterableZipContainer.Entry, T> tSupplier, Predicate<IterableZipContainer.Entry> loadZipEntryData) <Z extends IterableZipContainer.Entry>
ZgetNextEntry(Predicate<IterableZipContainer.Entry> loadZipEntryData) Methods inherited from interface org.burningwave.core.Closeable
close, closeResources, closeResources, createCloseResoucesTask, createCloseResoucesTaskMethods inherited from interface org.burningwave.core.Identifiable
getId, getOperationId
-
Field Details
-
classId
-
PATH_SUFFIX
- See Also:
-
-
Method Details
-
create
-
create
-
create
-
create
-
create
-
createZipFile
-
create
-
getConventionedAbsolutePath
String getConventionedAbsolutePath() -
getAbsolutePath
String getAbsolutePath() -
getParent
IterableZipContainer getParent() -
toByteBuffer
ByteBuffer toByteBuffer() -
getNextEntry
-
getNextEntry
-
duplicate
-
getCurrentZipEntry
IterableZipContainer.Entry getCurrentZipEntry() -
getEntrySupplier
Function<IterableZipContainer.Entry,IterableZipContainer.Entry> getEntrySupplier() -
closeEntry
void closeEntry() -
findAllAndConvert
default <T> Collection<T> findAllAndConvert(Predicate<IterableZipContainer.Entry> zipEntryPredicate, Function<IterableZipContainer.Entry, T> tSupplier, Predicate<IterableZipContainer.Entry> loadZipEntryData) -
findAllAndConvert
default <T> Collection<T> findAllAndConvert(Supplier<Collection<T>> supplier, Predicate<IterableZipContainer.Entry> zipEntryPredicate, Function<IterableZipContainer.Entry, T> tSupplier, Predicate<IterableZipContainer.Entry> loadZipEntryData) -
findFirstAndConvert
default <T> T findFirstAndConvert(Predicate<IterableZipContainer.Entry> zipEntryPredicate, Function<IterableZipContainer.Entry, T> tSupplier, Predicate<IterableZipContainer.Entry> loadZipEntryData) -
findOneAndConvert
default <T> T findOneAndConvert(Predicate<IterableZipContainer.Entry> zipEntryPredicate, Function<IterableZipContainer.Entry, T> tSupplier, Predicate<IterableZipContainer.Entry> loadZipEntryData) -
findOne
default IterableZipContainer.Entry findOne(Predicate<IterableZipContainer.Entry> zipEntryPredicate, Predicate<IterableZipContainer.Entry> loadZipEntryData) -
findFirst
default IterableZipContainer.Entry findFirst(Predicate<IterableZipContainer.Entry> zipEntryPredicate, Predicate<IterableZipContainer.Entry> loadZipEntryData) -
findAll
default Collection<IterableZipContainer.Entry> findAll(Predicate<IterableZipContainer.Entry> zipEntryPredicate, Predicate<IterableZipContainer.Entry> loadZipEntryData) -
findAll
default Collection<IterableZipContainer.Entry> findAll(Supplier<Collection<IterableZipContainer.Entry>> setSupplier, Predicate<IterableZipContainer.Entry> zipEntryPredicate, Predicate<IterableZipContainer.Entry> loadZipEntryData) -
destroy
default void destroy(boolean removeFromCache) -
destroy
default void destroy()
-