Class ClassResourceInfo

java.lang.Object
org.apache.logging.log4j.core.pattern.ClassResourceInfo

final class ClassResourceInfo extends Object
Resource information (i.e., the enclosing JAR file and its version) of a class.
  • Field Details

  • Constructor Details

    • ClassResourceInfo

      private ClassResourceInfo()
      Constructs an instance modelling an unknown class resource.
    • ClassResourceInfo

      ClassResourceInfo(Class<?> clazz, boolean exact)
      Parameters:
      clazz - the class
      exact - true, if the class was obtained via reflection; false, otherwise
  • Method Details