Package com.android.aapt
Interface Resources.FileReferenceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.FileReference,Resources.FileReference.Builder
- Enclosing class:
- Resources
public static interface Resources.FileReferenceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetPath()Path to a file within the APK (typically res/type-config/entry.ext).com.google.protobuf.ByteStringPath to a file within the APK (typically res/type-config/entry.ext).getType()The type of file this path points to.intThe type of file this path points to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPath
String getPath()Path to a file within the APK (typically res/type-config/entry.ext).
string path = 1;- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()Path to a file within the APK (typically res/type-config/entry.ext).
string path = 1;- Returns:
- The bytes for path.
-
getTypeValue
int getTypeValue()The type of file this path points to. For UAM bundle, this cannot be BINARY_XML.
.aapt.pb.FileReference.Type type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
Resources.FileReference.Type getType()The type of file this path points to. For UAM bundle, this cannot be BINARY_XML.
.aapt.pb.FileReference.Type type = 2;- Returns:
- The type.
-