public interface ResourceLoader
Modifier and Type | Method and Description |
---|---|
<T> Class<? extends T> |
findClass(String cname,
Class<T> expectedType)
Finds class of the name and expected type
|
<T> T |
newInstance(String cname,
Class<T> expectedType)
Creates an instance of the name and expected type
|
InputStream |
openResource(String resource)
Opens a named resource
|
InputStream openResource(String resource) throws IOException
IOException
<T> Class<? extends T> findClass(String cname, Class<T> expectedType)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.