01: /*
02: * $Id: SystemVariableInterpolator.java,v 1.4 2005/01/15 19:24:02 jonathanlocke
03: * Exp $ $Revision: 455983 $ $Date: 2005-02-22 18:48:25 +0100 (Tue, 22 Feb 2005) $
04: *
05: * ==============================================================================
06: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
07: * use this file except in compliance with the License. You may obtain a copy of
08: * the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15: * License for the specific language governing permissions and limitations under
16: * the License.
17: */
18: package wicket.util.string.interpolator;
19:
20: /**
21: * Convenient way of interpolating system properties.
22: *
23: * @author Jonathan Locke
24: */
25: public final class SystemVariableInterpolator extends
26: MapVariableInterpolator {
27: /**
28: * Constructor
29: *
30: * @param string
31: * The string to interpolate with system properties
32: */
33: public SystemVariableInterpolator(final String string) {
34: super(string, System.getProperties());
35: }
36: }
|