Package io.github.classgraph.utils
Class JarfileMetadataReader
- java.lang.Object
-
- io.github.classgraph.utils.JarfileMetadataReader
-
public class JarfileMetadataReader extends Object
Fast parser for jar manifest files.
-
-
Field Summary
Fields Modifier and Type Field Description List<String>
classPathEntriesToScan
"Class-Path" entries encountered in the manifest file.boolean
isSystemJar
If true, this is a JRE jar.List<ZipEntry>
zipEntries
The ZipEntries for the zipfile.
-
-
-
Field Detail
-
isSystemJar
public boolean isSystemJar
If true, this is a JRE jar.
-
zipEntries
public List<ZipEntry> zipEntries
The ZipEntries for the zipfile. ZipEntries contain only static metadata, so can be reused between different ZipFile instances, even though ZipFile imposes a synchronized lock around each instance.
-
classPathEntriesToScan
public List<String> classPathEntriesToScan
"Class-Path" entries encountered in the manifest file. Also includes any "!BOOT-INF/classes" or "!WEB-INF/classes" package roots. Will also include classpath entries for any jars found in one of the lib directories of the jar ("lib/", "BOOT-INF/lib", "WEB-INF/lib", or "WEB-INF/lib-provided"), ifClassGraph#addNestedLibJarsToClasspath(true)
is called before scanning.
-
-