org.freecompany.brimstone.core
Interface ResolverService.I2C
- All Superinterfaces:
- ResolverService
- All Known Subinterfaces:
- Resolver
- All Known Implementing Classes:
- DefaultResolver
- Enclosing interface:
- ResolverService
public static interface ResolverService.I2C
- extends ResolverService
Method Summary |
java.lang.Object |
getCharacteristic(java.net.URI uri)
Translate the given URI to a Universal Resource Characteristics (URC) for the resource. |
|
getCharacteristic(java.net.URI uri,
java.lang.Class<T> cl)
|
getCharacteristic
java.lang.Object getCharacteristic(java.net.URI uri)
throws URIResolutionException
- Translate the given URI to a Universal Resource Characteristics (URC) for the resource.
- Parameters:
uri
- the URI to resolve.
- Returns:
- the characteristics for the resource identified by the URI.
- Throws:
NoSuchURIException
- if the URI is definitively known not to represent a resource.
URIGoneException
- if the URI existed in the past but nothing is currently known about it.
URINotFoundException
- URI exists but there is no available output from this operation.
URIResolutionException
- If another problem prevents resolution of the URI.
getCharacteristic
<T> T getCharacteristic(java.net.URI uri,
java.lang.Class<T> cl)
throws URIResolutionException
- Throws:
URIResolutionException