Searched refs:resourcePath (Results 1 – 1 of 1) sorted by relevance
1050 private static ClassLoader createClassLoaderForResource(File destDir, String resourcePath) in createClassLoaderForResource() argument1052 String fileName = new File(resourcePath).getName(); in createClassLoaderForResource()1054 copyResource(resourcePath, dexOrJarFile); in createClassLoaderForResource()1063 private static void copyResource(String resourcePath, File destination) throws Exception { in copyResource() argument1068 try (InputStream in = classLoader.getResourceAsStream(resourcePath); in copyResource()1071 throw new IllegalStateException("Resource not found: " + resourcePath); in copyResource()