public static enum WikipediaCleaner.CleanerOption extends Enum<WikipediaCleaner.CleanerOption>
Enum Constant and Description |
---|
FILTER_TOKENS |
INCLUDE_CAPTIONS |
INCLUDE_LINK_TEXT |
INCLUDE_TITLES |
USE_PREPROCESSOR |
Modifier and Type | Method and Description |
---|---|
static WikipediaCleaner.CleanerOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WikipediaCleaner.CleanerOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WikipediaCleaner.CleanerOption INCLUDE_TITLES
public static final WikipediaCleaner.CleanerOption INCLUDE_CAPTIONS
public static final WikipediaCleaner.CleanerOption INCLUDE_LINK_TEXT
public static final WikipediaCleaner.CleanerOption FILTER_TOKENS
public static final WikipediaCleaner.CleanerOption USE_PREPROCESSOR
public static WikipediaCleaner.CleanerOption[] values()
for (WikipediaCleaner.CleanerOption c : WikipediaCleaner.CleanerOption.values()) System.out.println(c);
public static WikipediaCleaner.CleanerOption 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 © 2012. All Rights Reserved.