T
- Type of resourcepublic abstract class AbstractIoResource<T> extends Object implements IoResource<T>
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Modifier | Constructor and Description |
---|---|
protected |
AbstractIoResource(Class<T> resourceType,
T resourceValue) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Class<T> |
getResourceType() |
T |
getResourceValue() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forResource
findByName, findFirstMatchByName, getNameList, getNames, ofName, removeByName, safeCompareByName
openInputStream
public Class<T> getResourceType()
getResourceType
in interface IoResource<T>
public T getResourceValue()
getResourceValue
in interface IoResource<T>
public String getName()
getName
in interface NamedResource
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.