public static interface SUtil.AndroidUtils
Modifier and Type | Method and Description |
---|---|
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 defaultAppPath)
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 defaultAppPath) throws MalformedURLException
defaultAppPath
- URL
MalformedURLException
Enumeration<String> getDexEntries(File dexFile) throws IOException
dexFile
- the dex fileIOException
Copyright © 2013. All Rights Reserved.