packaging / net.corda.packaging.internal / JarExtractorInputStream

JarExtractorInputStream

class JarExtractorInputStream : JarInputStream

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

Constructors

<init>

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

JarExtractorInputStream(source: InputStream, destination: Path, verify: Boolean, sourceLocation: String?, outputNameTransformer: (String) -> String = {name -> name}, 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