Enum BinaryResourceString.Type
- java.lang.Object
-
- java.lang.Enum<BinaryResourceString.Type>
-
- com.google.devrel.gmscore.tools.apk.arsc.BinaryResourceString.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BinaryResourceString.Type>
- Enclosing class:
- BinaryResourceString
public static enum BinaryResourceString.Type extends java.lang.Enum<BinaryResourceString.Type>
Type ofBinaryResourceStringto encode / decode.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.charset.Charsetcharset()static BinaryResourceString.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BinaryResourceString.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UTF8
public static final BinaryResourceString.Type UTF8
-
UTF16
public static final BinaryResourceString.Type UTF16
-
-
Method Detail
-
values
public static BinaryResourceString.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BinaryResourceString.Type c : BinaryResourceString.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BinaryResourceString.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
charset
public java.nio.charset.Charset charset()
-
-