public class URLResourceHolder extends Object implements ResourceHolder<URL>
Resource contents SHA1 is used to determine if the resource has changed compared to the previous build.
Constructor and Description |
---|
URLResourceHolder(URL url) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
URL |
getResource()
Returns resource handle, the resource does not have to exist.
|
ResourceStatus |
getStatus() |
int |
hashCode() |
public URLResourceHolder(URL url) throws IOException
IOException
public URL getResource()
ResourceHolder
getResource
in interface ResourceHolder<URL>
public ResourceStatus getStatus()
getStatus
in interface ResourceHolder<URL>
Copyright © 2021. All rights reserved.