org.sf.jlaunchpad.util
Class StringUtil
java.lang.Object
org.sf.jlaunchpad.util.StringUtil
public final class StringUtil
- extends java.lang.Object
This is the class for holding file utilities.
- Version:
- 1.0 07/14/2007
- Author:
- Alexander Shvets
Method Summary |
static java.lang.String |
substituteProperties(java.lang.String text,
java.lang.String startSymbol,
java.lang.String endSymbol,
java.util.Map map)
Substitutes properties with actual values. |
static java.lang.String |
substituteProperties(java.lang.String text,
java.lang.String startSymbol,
java.lang.String endSymbol,
java.util.Map map,
boolean ignore)
Substitutes properties with actual values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringUtil
public StringUtil()
substituteProperties
public static java.lang.String substituteProperties(java.lang.String text,
java.lang.String startSymbol,
java.lang.String endSymbol,
java.util.Map map)
- Substitutes properties with actual values.
- Parameters:
text
- input stringstartSymbol
- start symbolendSymbol
- end symbol
- Returns:
- substituted string
substituteProperties
public static java.lang.String substituteProperties(java.lang.String text,
java.lang.String startSymbol,
java.lang.String endSymbol,
java.util.Map map,
boolean ignore)
- Substitutes properties with actual values.
- Parameters:
text
- input stringstartSymbol
- start symbolendSymbol
- end symbol
- Returns:
- substituted string
Copyright © 2007-2008 Dream Programs Inc.. All Rights Reserved.