Class PropertyExpander
java.lang.Object
com.sun.ts.lib.util.sec.security.util.PropertyExpander
A utility class to expand properties embedded in a string. Strings of the form ${some.property.name} are expanded to
be the value of the property. Also, the special ${/} property is expanded to be the same as file.separator. If a
property is not set, a GeneralSecurityException will be thrown.
- Author:
- Roland Schemers
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PropertyExpander
public PropertyExpander()
-
-
Method Details
-
expand
- Throws:
PropertyExpander.ExpandException
-
expand
public static String expand(String value, boolean encodeURL) throws PropertyExpander.ExpandException - Throws:
PropertyExpander.ExpandException
-