|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ClassLoader
dalvik.system.TouchDexLoader
class TouchDexLoader
Cloned out of PathClassLoader for TouchDex. This could be made substantially smaller, since we don't need most of this.
| Constructor Summary | |
|---|---|
TouchDexLoader(String path,
ClassLoader parent)
Create a ClassLoader that finds files in the specified path. |
|
| Method Summary | |
|---|---|
protected Class<?> |
findClass(String name)
Find the class with the specified name. |
protected String |
findLibrary(String libname)
Find a native library. |
protected URL |
findResource(String name)
Returns an URL which can be used to access the resource described by resName, using the class loader's resource lookup algorithm. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TouchDexLoader(String path,
ClassLoader parent)
| Method Detail |
|---|
protected Class<?> findClass(String name)
throws ClassNotFoundException
findClass in class ClassLoadername - The name of the class to search for.
ClassNotFoundException - if the class cannot be found.protected URL findResource(String name)
ClassLoader
findResource in class ClassLoadername - The name of the resource to find.
protected String findLibrary(String libname)
findLibrary in class ClassLoaderlibname - The name of the library to find.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||