Interface ISimpleDelegationClassLoader


  • public interface ISimpleDelegationClassLoader
    Interface for DexClassLoaders that are capable of delegating classloading requests.
    • Method Detail

      • setDelegate

        void setDelegate​(ISimpleDelegationClassLoader del)
        Set the delegation ClassLoader which will respond to all classloading requests.
        Parameters:
        del -
      • 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