Class ClasspathResource

    • Constructor Detail

      • ClasspathResource

        public ClasspathResource​(java.lang.ClassLoader classLoader,
                                 java.lang.String path)
    • Method Detail

      • toURL

        public java.net.URL toURL()
        Description copied from interface: Resource
        Returns the URL for the resource, or null if it does not exist. This value is lazily computed; starting in 5.3.4, subclasses may cache the result. Starting in 5.4, some "virtual resources" may return null.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object