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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetPath()Path to a file within the APK (typically res/type-config/entry.ext).com.google.protobuf.ByteStringgetPathBytes()Path to a file within the APK (typically res/type-config/entry.ext).Resources.FileReference.TypegetType()The type of file this path points to.intgetTypeValue()The type of file this path points to.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPath
java.lang.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.
-
-