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, safeCompareByNameopenInputStreamT getResourceValue()
static IoResource<?> forResource(Object resource)
resource - The resource object - ignored if nullnull if no initial
resource)UnsupportedOperationException - if no match foundCopyright © 2018–2024 The Apache Software Foundation. All rights reserved.