public class DexDataEntryWriterFactory
extends java.lang.Object
| Constructor and Description |
|---|
DexDataEntryWriterFactory(proguard.classfile.ClassPool programClassPool,
proguard.io.ClassPath libraryJars,
boolean appBundle,
int multiDexCount,
int minSdkVersion,
boolean debuggable,
proguard.io.DataEntryReader extraDexDataEntryVisitor)
Creates a new DexDataEntryWriterFactory.
|
| Modifier and Type | Method and Description |
|---|---|
proguard.io.DataEntryWriter |
wrapInDexWriter(proguard.io.DataEntryWriter dexWriter)
Wraps the given data entry writer in dex data entry writers for
"classes.dex", etc, supporting feature dex files, multidex, and
split dex files.
|
public DexDataEntryWriterFactory(proguard.classfile.ClassPool programClassPool,
proguard.io.ClassPath libraryJars,
boolean appBundle,
int multiDexCount,
int minSdkVersion,
boolean debuggable,
proguard.io.DataEntryReader extraDexDataEntryVisitor)
programClassPool - the program class pool to process.libraryJars - ClassPathEntry list of library jarsappBundle - specifies whether the dex files should
be named following the app bundle
directory structure.multiDexCount - specifies the number of dex files in
the multidex partitioning.minSdkVersion - the minimum supported API level.debuggable - whether the dex file shall be debuggable
or not.extraDexDataEntryVisitor - an optional extra visitor for all dex
data entries that are written. The
visitor can use the data entry names,
but must not read their contents.public proguard.io.DataEntryWriter wrapInDexWriter(proguard.io.DataEntryWriter dexWriter)
dexWriter - the data entry writer to which dex files can be
written.