Package jadx.gui.treemodel
Enum JResource.JResType
- java.lang.Object
-
- java.lang.Enum<JResource.JResType>
-
- jadx.gui.treemodel.JResource.JResType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JResource.JResType>
- Enclosing class:
- JResource
public static enum JResource.JResType extends java.lang.Enum<JResource.JResType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JResource.JResTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JResource.JResType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROOT
public static final JResource.JResType ROOT
-
DIR
public static final JResource.JResType DIR
-
FILE
public static final JResource.JResType FILE
-
-
Method Detail
-
values
public static JResource.JResType[] 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 (JResource.JResType c : JResource.JResType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JResource.JResType 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
-
-