Package org.jf.smali

Class 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 options
      static boolean assemble​(SmaliOptions options, java.util.List<java.lang.String> input)
      Assemble the specified files, using the given options
      static boolean printTokens​(SmaliOptions options, java.util.List<java.lang.String> input)
      Prints the lexical tokens for the given files.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Smali

        public Smali()
    • 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 with
        input - 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 with
        input - 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 use
        input - The files/directories to process
        Returns:
        true if assembly completed with no errors, or false if errors were encountered
        Throws:
        java.io.IOException