Class ServletContextPropertyUtils


  • public abstract class ServletContextPropertyUtils
    extends Object
    Helper class for resolving placeholders in texts. Usually applied to file paths.

    A text may contain ${...} placeholders, to be resolved as servlet context init parameters or system properties: e.g. ${user.dir}. Default values can be supplied using the ":" separator between key and value.

    Since:
    3.2.2
    Author:
    Juergen Hoeller, Marten Deinum
    See Also:
    SystemPropertyUtils, ServletContext.getInitParameter(String)