Package com.android.build.gradle.api
Class ApkOutputFile
- java.lang.Object
-
- com.android.build.gradle.api.ApkOutputFile
-
- All Implemented Interfaces:
com.android.build.OutputFile,com.android.build.VariantOutput,java.io.Serializable
@Deprecated public class ApkOutputFile extends java.lang.Object implements com.android.build.OutputFile, java.io.SerializableDeprecated.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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApkOutputFile(com.android.build.VariantOutput.OutputType outputType, java.util.Collection<com.android.build.FilterData> filters, java.util.concurrent.Callable<java.io.File> outputFile, int versionCode)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetFilter(java.lang.String filterType)Deprecated.Returns the split identifier (like "hdpi" for a density split) given the split dimension.java.lang.StringgetFilterByType(com.android.build.VariantOutput.FilterType filterType)Deprecated.java.util.Collection<com.android.build.FilterData>getFilters()Deprecated.java.util.Collection<java.lang.String>getFilterTypes()Deprecated.com.android.build.OutputFilegetMainOutputFile()Deprecated.java.io.FilegetOutputFile()Deprecated.java.util.Collection<? extends com.android.build.OutputFile>getOutputs()Deprecated.java.lang.StringgetOutputType()Deprecated.com.android.build.VariantOutput.OutputTypegetType()Deprecated.intgetVersionCode()Deprecated.java.lang.StringtoString()Deprecated.
-
-
-
Method Detail
-
getMainOutputFile
@NonNull public com.android.build.OutputFile getMainOutputFile()
Deprecated.- Specified by:
getMainOutputFilein interfacecom.android.build.VariantOutput
-
getOutputs
@NonNull public java.util.Collection<? extends com.android.build.OutputFile> getOutputs()
Deprecated.- Specified by:
getOutputsin interfacecom.android.build.VariantOutput
-
getType
@NonNull public com.android.build.VariantOutput.OutputType getType()
Deprecated.
-
getOutputFile
@NonNull public java.io.File getOutputFile()
Deprecated.- Specified by:
getOutputFilein interfacecom.android.build.OutputFile
-
getFilters
@NonNull public java.util.Collection<com.android.build.FilterData> getFilters()
Deprecated.- Specified by:
getFiltersin interfacecom.android.build.VariantOutput
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
getOutputType
@NonNull public java.lang.String getOutputType()
Deprecated.- Specified by:
getOutputTypein interfacecom.android.build.VariantOutput
-
getFilterTypes
@NonNull public java.util.Collection<java.lang.String> getFilterTypes()
Deprecated.- Specified by:
getFilterTypesin interfacecom.android.build.VariantOutput
-
getFilterByType
@Nullable public java.lang.String getFilterByType(com.android.build.VariantOutput.FilterType filterType)
Deprecated.
-
getFilter
@Nullable public java.lang.String getFilter(java.lang.String filterType)
Deprecated.Returns the split identifier (like "hdpi" for a density split) given the split dimension.- Parameters:
filterType- the string representation ofSplitTypesplit dimension used to create the APK.- Returns:
- the split identifier or null if there was not split of that dimension.
-
getVersionCode
public int getVersionCode()
Deprecated.- Specified by:
getVersionCodein interfacecom.android.build.VariantOutput
-
-