public class ApkOutputFile extends Object
Represents a resource output from a variant configuration. Depending on split requirements, there can be more than one output from aapt tool and each output file is represented by an instance of this class.
| Constructor and description |
|---|
ApkOutputFile
(OutputType outputType, Collection<com.android.build.FilterData> filters, Callable<File> outputFile) |
| Type | Name and description |
|---|---|
String |
getFilter(String filterType)Returns the split identifier (like "hdpi" for a density split) given the split dimension. |
String |
getFilterByType(FilterType filterType) |
Collection<String> |
getFilterTypes() |
Collection<com.android.build.FilterData> |
getFilters() |
File |
getOutputFile() |
String |
getOutputType() |
String |
getSplitIdentifiers(char separatorChar)String identifying the splits within all the filters dimension. |
com.android.build.OutputFile$OutputType |
getType() |
String |
toString() |
Returns the split identifier (like "hdpi" for a density split) given the split dimension.
filterType - the string representation of {@see SplitType} split dimension used to
create the APK.String identifying the splits within all the filters dimension. For instance, for a com.android.build.OutputFile.FilterType#DENSITY, a split identifier can be "xxhdpi". Each split identifier will be separated with the passed separator
separatorChar - separator for each filter's value.