public class DexArchiveBuilderConfig
extends java.lang.Object
Currently, there is a limited set of options to configure, and if necessary, other can be added in the future.
| Constructor and Description |
|---|
DexArchiveBuilderConfig(com.android.dx.command.dexer.DxContext dxContext,
boolean optimized,
int inBufferSize,
int minSdkVersion,
DexerTool tool,
int outBufferSize,
boolean jumboMode)
Creates a configuration object used to set up the dex archive conversion.
|
| Modifier and Type | Method and Description |
|---|---|
com.android.dx.dex.cf.CfOptions |
getCfOptions() |
com.android.dx.dex.DexOptions |
getDexOptions() |
com.android.dx.command.dexer.DxContext |
getDxContext() |
java.io.PrintStream |
getErrorOut() |
int |
getInBufferSize() |
int |
getMinSdkVersion() |
int |
getOutBufferSize() |
DexerTool |
getTool() |
public DexArchiveBuilderConfig(@NonNull
com.android.dx.command.dexer.DxContext dxContext,
boolean optimized,
int inBufferSize,
int minSdkVersion,
@NonNull
DexerTool tool,
int outBufferSize,
boolean jumboMode)
dxContext - used when invoking dx, mainly for getting the standard and error outputoptimized - if generated dex should be optimizedinBufferSize - size of the buffer to read .class files, 0 to not reuse buffers.minSdkVersion - minimum sdk version used to enable dx featurestool - tool that will be used to create dex archivesoutBufferSize - size of the buffer to store .dex files from translation.jumboMode - if jumbo mode is enabled for dx@NonNull public com.android.dx.dex.DexOptions getDexOptions()
@NonNull public com.android.dx.dex.cf.CfOptions getCfOptions()
@NonNull public com.android.dx.command.dexer.DxContext getDxContext()
@NonNull public DexerTool getTool()
public int getMinSdkVersion()
@NonNull public java.io.PrintStream getErrorOut()
public int getInBufferSize()
public int getOutBufferSize()