walk

fun walk(path: String, function: (Path, InputStream?) -> Unit)(source)

Walks through the contents of a JAR file located at the given path, invoking the specified function for each file.

Parameters

path

A string representing the path to the JAR file to walk through.

function

A function that takes a Path object and an InputStream object (might be null) and does some processing.