public class DexClassProvider extends Object implements ClassProvider
Constructor and Description |
---|
DexClassProvider() |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
classesOfDex(File file)
Return names of classes in dex/apk file.
|
static Set<String> |
classesOfDex(File file,
String dexName)
Return names of classes in the given dex/apk file.
|
ClassSource |
find(String className)
Provides the DexClassSource for the class.
|
public ClassSource find(String className)
find
in interface ClassProvider
className
- class to provide.public static Set<String> classesOfDex(File file) throws IOException
file
- file to dex/apk file. Can be the path of a zip file.IOException
public static Set<String> classesOfDex(File file, String dexName) throws IOException
file
- file to dex/apk file. Can be the path of a zip file.dexName
- a name of a given dex fileIOException