public enum FormatTypes extends Enum<FormatTypes>
FormatTypes
Enum of format strings used with String.Format().| Enum Constant and Description |
|---|
ERROR_HEADER
Structure of error.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getStructure()
Retrieve the relevant string format.
|
static FormatTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatTypes ERROR_HEADER
public static FormatTypes[] values()
for (FormatTypes c : FormatTypes.values()) System.out.println(c);
public static FormatTypes 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 String getStructure()
Copyright © 2021. All rights reserved.