Package com.github.toolarium.common.util
Class PropertyExpander
java.lang.Object
com.github.toolarium.common.util.PropertyExpander
Property expander
EBNF:
-----
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
-
Method Details
-
getInstance
Get the instance- Returns:
- the instance
-
expand
Expand the expression- Parameters:
expression- the expression- Returns:
- the expanded expression
-