|
install4j API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.install4j.api.beans.ReplacementMode
public class ReplacementMode
Variable replacement mode for string properties that are used in regular expressions.
The enumerated class is used as a parameter to AbstractBean.replaceVariables(String, ReplacementMode)
.
Field Summary | |
---|---|
static ReplacementMode |
I18N_ONLY
Only i18n variables like ${i18n:myKey} will be replaced. |
static ReplacementMode |
PLAIN
Normal replacement like in AbstractBean.replaceVariables(String) . |
static ReplacementMode |
REGEXP_MATCH
The property is used as a regular expression. |
static ReplacementMode |
REGEXP_REPLACEMENT
The property is used as a replacement part of a regular expression. |
Constructor Summary | |
---|---|
ReplacementMode()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ReplacementMode PLAIN
AbstractBean.replaceVariables(String)
.
public static final ReplacementMode I18N_ONLY
public static final ReplacementMode REGEXP_MATCH
public static final ReplacementMode REGEXP_REPLACEMENT
Constructor Detail |
---|
public ReplacementMode()
|
install4j API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |