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, findFirstMatchByName, getName, getNameList, getNames, ofName, removeByName, safeCompareByName
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–2024 The Apache Software Foundation. All rights reserved.