Package org.jf.smali
Class Smali
- java.lang.Object
-
- org.jf.smali.Smali
-
public class Smali extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Smali()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
assemble(SmaliOptions options, java.lang.String... input)
Assemble the specified files, using the given optionsstatic boolean
assemble(SmaliOptions options, java.util.List<java.lang.String> input)
Assemble the specified files, using the given optionsstatic boolean
printTokens(SmaliOptions options, java.util.List<java.lang.String> input)
Prints the lexical tokens for the given files.
-
-
-
Method Detail
-
assemble
public static boolean assemble(SmaliOptions options, java.lang.String... input) throws java.io.IOException
Assemble the specified files, using the given options- Parameters:
options
- a SmaliOptions object with the options to run smali withinput
- The files/directories to process- Returns:
- true if assembly completed with no errors, or false if errors were encountered
- Throws:
java.io.IOException
-
assemble
public static boolean assemble(SmaliOptions options, java.util.List<java.lang.String> input) throws java.io.IOException
Assemble the specified files, using the given options- Parameters:
options
- a SmaliOptions object with the options to run smali withinput
- The files/directories to process- Returns:
- true if assembly completed with no errors, or false if errors were encountered
- Throws:
java.io.IOException
-
printTokens
public static boolean printTokens(SmaliOptions options, java.util.List<java.lang.String> input) throws java.io.IOException
Prints the lexical tokens for the given files.- Parameters:
options
- a SmaliOptions object with the options to useinput
- The files/directories to process- Returns:
- true if assembly completed with no errors, or false if errors were encountered
- Throws:
java.io.IOException
-
-