public static enum Extractor.OutputFormat extends Enum<Extractor.OutputFormat>
| Modifier and Type | Method and Description |
|---|---|
static Extractor.OutputFormat |
parse(String outputFormat) |
static Extractor.OutputFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Extractor.OutputFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Extractor.OutputFormat HTML
public static final Extractor.OutputFormat TEXT
public static Extractor.OutputFormat[] values()
for (Extractor.OutputFormat c : Extractor.OutputFormat.values()) System.out.println(c);
public static Extractor.OutputFormat 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 Extractor.OutputFormat parse(String outputFormat)
Copyright © 2018 The International Consortium of Investigative Journalists. All rights reserved.