public static enum FirmwareUtils.FILE_TYPE extends Enum<FirmwareUtils.FILE_TYPE>
Modifier and Type | Method and Description |
---|---|
static FirmwareUtils.FILE_TYPE |
fromString(String text) |
static FirmwareUtils.FILE_TYPE |
get(int id) |
String |
getText() |
static FirmwareUtils.FILE_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FirmwareUtils.FILE_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FirmwareUtils.FILE_TYPE HEX
public static final FirmwareUtils.FILE_TYPE BIN
public static FirmwareUtils.FILE_TYPE[] values()
for (FirmwareUtils.FILE_TYPE c : FirmwareUtils.FILE_TYPE.values()) System.out.println(c);
public static FirmwareUtils.FILE_TYPE valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static FirmwareUtils.FILE_TYPE get(int id)
public String getText()
public static FirmwareUtils.FILE_TYPE fromString(String text)
Copyright © 2015–2019. All rights reserved.