public static interface AndroidClassLoadingStrategy.DexProcessor.Conversion
| Modifier and Type | Method and Description |
|---|---|
void |
drainTo(OutputStream outputStream)
Writes an Android dex file containing all registered Java classes to the provided output stream.
|
void |
register(String name,
byte[] binaryRepresentation)
Adds a Java class to the generated dex file.
|
void register(String name, byte[] binaryRepresentation)
name - The binary name of the Java class.binaryRepresentation - The binary representation of this class.void drainTo(OutputStream outputStream) throws IOException
outputStream - The output stream to write the generated dex file to.IOException - If an error occurs while writing the file.Copyright © 2014–2023. All rights reserved.