public static interface SUtil.AndroidUtils
Modifier and Type | Method and Description |
---|---|
String |
apkPathFromUrl(URL url)
Retrieves the APK Path from a given URL, if its an Android APK URL.
|
Collection<? extends URL> |
collectDexPathUrls(ClassLoader classloader)
Traverse the Hierarchy of the given classloader and collect all
DexPaths that are found as URLs.
|
ClassLoader |
findJadexDexClassLoader(ClassLoader cl)
Looks up the ClassLoader Hierarchy and tries to find a JadexDexClassLoader in it.
|
int |
getAndroidVersion()
Get Android API version.
|
Enumeration<String> |
getDexEntries(File dexFile)
Get all Classes in a dex file as Enumeration.
|
boolean |
hasXmlSupport()
Checks whether the Platform has the necessary classes to provide XML
encoding and decoding support.
|
URL |
urlFromApkPath(String apkPath)
Creates an URL object from a given Path to an android APK file
|
int getAndroidVersion()
Collection<? extends URL> collectDexPathUrls(ClassLoader classloader)
classloader
- boolean hasXmlSupport()
ClassLoader findJadexDexClassLoader(ClassLoader cl)
cl
- JadexDexClassLoader
or null
, if none found.URL urlFromApkPath(String apkPath) throws MalformedURLException
apkPath
- URL
MalformedURLException
String apkPathFromUrl(URL url)
url
- String
Enumeration<String> getDexEntries(File dexFile) throws IOException
dexFile
- the dex fileIOException
Copyright © 2015. All Rights Reserved.