com.android.dx.dex.cf
Class CfTranslator
java.lang.Object
com.android.dx.dex.cf.CfTranslator
public class CfTranslator
- extends Object
Static method that turns byte[]s containing Java
classfiles into ClassDefItem instances.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
translate
public static ClassDefItem translate(String filePath,
byte[] bytes,
CfOptions cfOptions,
DexOptions dexOptions)
- Takes a
byte[], interprets it as a Java classfile, and
translates it into a ClassDefItem.
- Parameters:
filePath - non-null; the file path for the class,
excluding any base directory specificationbytes - non-null; contents of the filecfOptions - options for class translationdexOptions - options for dex output
- Returns:
non-null; the translated class
Copyright © 2012. All Rights Reserved.