classNamesInJarFile

fun classNamesInJarFile(jarFilePath: Path, includeInnerClasses: Boolean = true): Set<String>(source)

Extracts the class names contained within the JAR file.

Return

the set of class names

Parameters

jarFilePath

the path to the JAR File

includeInnerClasses

a flag (default true) that indicates if inner classes are to be included in the returned set


fun classNamesInJarFile(jar: JarFile, includeInnerClasses: Boolean = true): Set<String>(source)

Extracts the class names contained within the JAR file. The supplied JAR file is not closed by the function.

Return

the set of class names

Parameters

jar

the JAR file to process

includeInnerClasses

a flag (default true) that indicates if inner classes are to be included in the returned set