public enum TemplateFormat extends Enum<TemplateFormat>
| Enum Constant and Description |
|---|
assignments |
csv |
inlinejson |
json |
readout |
| Modifier and Type | Method and Description |
|---|---|
String |
format(boolean addNewlineSeparator,
List<String> fieldNames) |
String |
format(boolean addNewlineSeparator,
List<String> fieldNames,
Function<String,String> fieldNameAdapter) |
static TemplateFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemplateFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateFormat csv
public static final TemplateFormat assignments
public static final TemplateFormat readout
public static final TemplateFormat json
public static final TemplateFormat inlinejson
public static TemplateFormat[] values()
for (TemplateFormat c : TemplateFormat.values()) System.out.println(c);
public static TemplateFormat 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 nullCopyright © 2018. All rights reserved.