public interface ResourceExchange
| Modifier and Type | Method and Description |
|---|---|
Resource<InputStream> |
get(URI uri)
Gets the resource pointed by an URL into file
|
ResourceInfo |
info(URI uri)
Gets the resource information pointed by an URL into file
|
void |
release()
Releases any open resources used by the exchange
|
Resource<InputStream> get(URI uri) throws ResourceExchangeException
uri - the resource location/addressResourceExchangeException - if unable to obtain the resource. Check the root cause for details.ResourceInfo info(URI uri) throws ResourceExchangeException
uri - the resource location/addressResourceExchangeException - if unable to obtain the resource. Check the root cause for details.void release()
This documentation was released into the public domain.