public enum SubstitutionType extends Enum<SubstitutionType>
| Enum Constant and Description |
|---|
TYPE_ANT
Plain file with ANT-like variable markers, ie @param@
|
TYPE_AT
Plain file with '@' start char.
|
TYPE_JAVA
Java file, where \ have to be escaped.
|
TYPE_JAVA_PROPERTIES
Java properties file.
|
TYPE_PLAIN
Plain file.
|
TYPE_SHELL
Shell file.
|
TYPE_XML
XML file.
|
| Modifier and Type | Method and Description |
|---|---|
static SubstitutionType |
getDefault() |
String |
getType() |
static SubstitutionType |
lookup(String typeString)
Return the substitution type
|
static SubstitutionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubstitutionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubstitutionType TYPE_PLAIN
public static final SubstitutionType TYPE_JAVA_PROPERTIES
public static final SubstitutionType TYPE_XML
public static final SubstitutionType TYPE_SHELL
public static final SubstitutionType TYPE_AT
public static final SubstitutionType TYPE_JAVA
public static final SubstitutionType TYPE_ANT
public static SubstitutionType[] values()
for (SubstitutionType c : SubstitutionType.values()) System.out.println(c);
public static SubstitutionType 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 getType()
public static final SubstitutionType getDefault()
public static SubstitutionType lookup(String typeString)
typeString - Type of substitution in a string formCopyright © 2001–2025. All rights reserved.