public interface ExternalResourceAccessor
| Modifier and Type | Method and Description |
|---|---|
ExternalResourceMetaData |
getMetaData(String location)
Obtains only the metadata about the resource.
|
ExternalResource |
getResource(String location)
Obtain the resource at the given location.
|
HashValue |
getResourceSha1(String location)
Obtain the SHA-1 checksum for the resource at the given location.
|
@Nullable ExternalResource getResource(String location) throws IOException
IOException to indicate a fatal condition.location - The address of the resource to obtainIOException - If the resource may exist, but not could be obtained for some reason@Nullable HashValue getResourceSha1(String location)
location - The address of the resource to obtain the sha-1 of@Nullable ExternalResourceMetaData getMetaData(String location) throws IOException
IOException to indicate a fatal condition.location - The location of the resource to obtain the metadata forIOException - If the resource may exist, but not could be obtained for some reasonCopyright © 2013. All rights reserved