org.sf.jlaunchpad.util
Class StringUtil

java.lang.Object
  extended by 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

Constructor Summary
StringUtil()
           
 
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
 

Constructor Detail

StringUtil

public StringUtil()
Method Detail

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 string
startSymbol - start symbol
endSymbol - 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 string
startSymbol - start symbol
endSymbol - end symbol
Returns:
substituted string


Copyright © 2007-2008 Dream Programs Inc.. All Rights Reserved.