com.android.jill.api.v01
Interface Api01Config

All Superinterfaces:
JillConfig

public interface Api01Config
extends JillConfig

A configuration implementation for API level 01 of Jill.


Method Summary
 Api01TranslationTask getTask()
          Creates an instance of the Api01TranslationTask according to this configuration.
 void setDebugInfo(boolean debugInfo)
          Sets whether debug info should be emitted.
 void setInputJavaBinaryFile(java.io.File input)
          Sets jar file to apply the Jill translation onto.
 void setOutputJackFile(java.io.File outputJackFile)
          Sets the file where the output Jack library will be written.
 void setVerbose(boolean isVerbose)
          Sets verbosity mode.
 

Method Detail

setVerbose

void setVerbose(boolean isVerbose)
                throws ConfigurationException
Sets verbosity mode.

Parameters:
isVerbose - the desired verbosity mode
Throws:
ConfigurationException

setInputJavaBinaryFile

void setInputJavaBinaryFile(@Nonnull
                            java.io.File input)
                            throws ConfigurationException
Sets jar file to apply the Jill translation onto. The file must exist.

Parameters:
input - jar file to translate
Throws:
ConfigurationException

setOutputJackFile

void setOutputJackFile(@Nonnull
                       java.io.File outputJackFile)
                       throws ConfigurationException
Sets the file where the output Jack library will be written. The file may already exist and will be overwritten.

Parameters:
outputJackFile - The output Jack library file
Throws:
ConfigurationException

setDebugInfo

void setDebugInfo(boolean debugInfo)
                  throws ConfigurationException
Sets whether debug info should be emitted.

Parameters:
debugInfo - the desired mode for debug info emission
Throws:
ConfigurationException

getTask

@Nonnull
Api01TranslationTask getTask()
                             throws ConfigurationException
Creates an instance of the Api01TranslationTask according to this configuration.

Returns:
The Api01TranslationTask
Throws:
ConfigurationException