packaging / net.corda.packaging.internal / ZipExtractorInputStream

ZipExtractorInputStream

class ZipExtractorInputStream : ZipInputStream

Input stream that extract a zip archive in the provided destination while reading it

Constructors

<init>

Input stream that extract a zip archive in the provided destination while reading it

ZipExtractorInputStream(source: InputStream, destination: Path, filter: (ZipEntry) -> Boolean = { true })

Functions

closeEntry

fun closeEntry(): Unit

getNextEntry

fun getNextEntry(): ZipEntry?

read

fun read(): Int
fun read(b: ByteArray, off: Int, len: Int): Int