-
- All Implemented Interfaces:
-
org.readium.r2.shared.util.archive.ArchiveOpener
public final class ZipArchiveOpener implements ArchiveOpener
-
-
Constructor Summary
Constructors Constructor Description ZipArchiveOpener()
-
Method Summary
Modifier and Type Method Description Try<ContainerAsset, ArchiveOpener.OpenError>open(Format format, Readable source)Creates a new Container to access the entries of an archive with a known format. Try<ContainerAsset, ArchiveOpener.SniffOpenError>sniffOpen(Readable source)Creates a new ContainerAsset to access the entries of an archive after sniffing its format. -
-
Method Detail
-
open
Try<ContainerAsset, ArchiveOpener.OpenError> open(Format format, Readable source)
Creates a new Container to access the entries of an archive with a known format.
-
sniffOpen
Try<ContainerAsset, ArchiveOpener.SniffOpenError> sniffOpen(Readable source)
Creates a new ContainerAsset to access the entries of an archive after sniffing its format.
-
-
-
-