Package 

Class ZipSplitReadOnlySeekableByteChannel

  • All Implemented Interfaces:
    java.io.Closeable , java.lang.AutoCloseable , org.readium.r2.shared.util.zip.jvm.ByteChannel , org.readium.r2.shared.util.zip.jvm.Channel , org.readium.r2.shared.util.zip.jvm.ReadableByteChannel , org.readium.r2.shared.util.zip.jvm.SeekableByteChannel , org.readium.r2.shared.util.zip.jvm.WritableByteChannel

    
    public class ZipSplitReadOnlySeekableByteChannel
    extends MultiReadOnlySeekableByteChannel
                        

    MultiReadOnlySeekableByteChannel that knows what a split ZIP archive should look like.

    If you want to read a split archive using ZipFile then create an instance of this class from the parts of the archive.

    • Constructor Detail

      • ZipSplitReadOnlySeekableByteChannel

        ZipSplitReadOnlySeekableByteChannel(List<SeekableByteChannel> channels)
        Concatenates the given channels.
        Parameters:
        channels - the channels to concatenate