-
-
Method Summary
Attempts to find the best wrapper for the resource
-
Method Details
-
getResourceType
- Returns:
- The type of resource being represented
-
getResourceValue
- Returns:
- The resource value serving as basis for the provided data stream
-
forResource
Attempts to find the best wrapper for the resource
- Parameters:
resource
- The resource object - ignored if null
- Returns:
- The best wrapper out of the supported ones (
null
if no initial
resource)
- Throws:
UnsupportedOperationException
- if no match found