public static enum Substitution.ReplaceMode extends java.lang.Enum<Substitution.ReplaceMode> implements Substitution.Flag
Enum Constant and Description |
---|
FIRST |
GLOBAL |
NULL_IF_NONE |
Modifier and Type | Method and Description |
---|---|
char |
getFlag() |
static Substitution.ReplaceMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Substitution.ReplaceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Substitution.ReplaceMode NULL_IF_NONE
public static final Substitution.ReplaceMode FIRST
public static final Substitution.ReplaceMode GLOBAL
public static Substitution.ReplaceMode[] values()
for (Substitution.ReplaceMode c : Substitution.ReplaceMode.values()) System.out.println(c);
public static Substitution.ReplaceMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic char getFlag()
getFlag
in interface Substitution.Flag
Copyright © 2014-2020 Tomitribe Corporation. All Rights Reserved.