Class JarfileMetadataReader


  • public class JarfileMetadataReader
    extends Object
    Fast parser for jar manifest files.
    • 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"), if ClassGraph#addNestedLibJarsToClasspath(true) is called before scanning.