| Constructor Summary |
|---|
|
Create a new UrlResource. |
|
Create a new UrlResource. |
| Method Summary | |
|---|---|
| Resource |
This implementation creates a UrlResource, applying the given path relative to the path of the underlying URL of this resource descriptor. |
| boolean |
This implementation compares the underlying URL references. |
| String |
This implementation returns a description that includes the URL. |
| File |
This implementation returns a File reference for the underlying URL, provided that it refers to a file in the file system. |
| String |
This implementation returns the name of the file that this URL refers to. |
| InputStream |
This implementation opens an InputStream for the given URL. |
| URL |
This implementation returns the underlying URL reference. |
| int |
This implementation returns the hash code of the underlying URL reference. |
| Methods inherited from org.springframework.core.ioAbstractResource |
|---|
| Methods inherited from java.langObject |
|---|
false,
mainly to avoid jar file locking on Windows.
public
int
hashCode
(
)