Package com.googlecode.d2j.reader.zip
Class ZipUtil
java.lang.Object
com.googlecode.d2j.reader.zip.ZipUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]readDex(byte[] data) read the dex file from byte array, if the byte array is a zip stream, it will return the content of classes.dex in the zip stream.static byte[]read the dex file from file, if the file is a zip file, it will return the content of classes.dex in the zip file.static byte[]readDex(InputStream in) static byte[]static byte[]
-
Method Details
-
toByteArray
- Throws:
IOException
-
readDex
read the dex file from file, if the file is a zip file, it will return the content of classes.dex in the zip file.- Throws:
IOException
-
readDex
- Throws:
IOException
-
readDex
- Throws:
IOException
-
readDex
read the dex file from byte array, if the byte array is a zip stream, it will return the content of classes.dex in the zip stream.- Returns:
- the content of classes.dex
- Throws:
IOException
-