Interface ISimpleDelegationClassLoader
-
public interface ISimpleDelegationClassLoader
Interface for DexClassLoaders that are capable of delegating classloading requests.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ISimpleDelegationClassLoader
getDelegate()
java.net.URL
getResource(java.lang.String name)
java.io.InputStream
getResourceAsStream(java.lang.String name)
java.util.Enumeration<java.net.URL>
getResources(java.lang.String name)
java.lang.Class<?>
loadClass(java.lang.String name, boolean resolve)
void
setDelegate(ISimpleDelegationClassLoader del)
Set the delegation ClassLoader which will respond to all classloading requests.
-
-
-
Method Detail
-
setDelegate
void setDelegate(ISimpleDelegationClassLoader del)
Set the delegation ClassLoader which will respond to all classloading requests.- Parameters:
del
-
-
getDelegate
ISimpleDelegationClassLoader getDelegate()
-
loadClass
java.lang.Class<?> loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
getResource
java.net.URL getResource(java.lang.String name)
-
getResourceAsStream
java.io.InputStream getResourceAsStream(java.lang.String name)
-
getResources
java.util.Enumeration<java.net.URL> getResources(java.lang.String name) throws java.io.IOException
- Throws:
java.io.IOException
-
-