T
- Type of resourcepublic interface IoResource<T> extends NamedResource, ResourceStreamProvider
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Modifier and Type | Method and Description |
---|---|
static IoResource<?> |
forResource(Object resource)
Attempts to find the best wrapper for the resource
|
Class<T> |
getResourceType() |
T |
getResourceValue() |
findByName, getName, getNameList, getNames, ofName, removeByName
openInputStream
T getResourceValue()
static IoResource<?> forResource(Object resource)
resource
- The resource object - ignored if null
null
if no initial resource)UnsupportedOperationException
- if no match foundCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.