Class ClassPath.ResourceInfo

  • Direct Known Subclasses:
    ClassPath.ClassInfo
    Enclosing class:
    ClassPath


    @Beta
    public static class ClassPath.ResourceInfo
    extends Object
    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 Detail

      • url

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

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

        public int hashCode()
      • equals

        public boolean equals(Object obj)
      • toString

        public String toString()