Package com.github.toolarium.common.util
Class PropertyExpander
- java.lang.Object
-
- com.github.toolarium.common.util.PropertyExpander
-
public final class PropertyExpander extends java.lang.ObjectProperty expanderEBNF: ----- TERM_EXPRESSION ::= TERM { BLANKS } { TERM } TERM ::= ATTRIBUTE | ENV_EXPRESSION ENV_EXPRESSION ::= ENV_CHARACTER { BRACE_LEFT ATTRIBUTE BRACE_RIGHT } | { ATTRIBUTE } ATTRIBUTE ::= [a-zA-Z0-9] ENV_CHARACTER ::= $ BRACE_LEFT ::= { BRACE_RIGHT ::= } BLANK ::=
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringexpand(java.lang.String expression)Expand the expressionstatic PropertyExpandergetInstance()Get the instance
-
-
-
Method Detail
-
getInstance
public static PropertyExpander getInstance()
Get the instance- Returns:
- the instance
-
expand
public java.lang.String expand(java.lang.String expression)
Expand the expression- Parameters:
expression- the expression- Returns:
- the expanded expression
-
-