Class ClassPath.ResourceInfo

java.lang.Object
com.google.common.reflect.ClassPath.ResourceInfo
Direct Known Subclasses:
ClassPath.ClassInfo
Enclosing class:
ClassPath

@Beta @Deprecated(since="2022-12-01") public static class ClassPath.ResourceInfo extends Object
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
Represents a class path resource that can be either a class file or any other resource file loadable from the class path.
Since:
14.0
  • Method Details

    • url

      public final URL url()
      Deprecated.
      Returns the url identifying the resource.
    • getResourceName

      public final String getResourceName()
      Deprecated.
      Returns the fully qualified name of the resource. Such as "com/mycomp/foo/bar.txt".
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object