Apache JMeter

org.apache.jmeter.util
Class StringUtilities

java.lang.Object
  extended by org.apache.jmeter.util.StringUtilities

public final class StringUtilities
extends Object


Method Summary
static String substitute(String input, String pattern, String sub)
          Replace all patterns in a String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

substitute

public static String substitute(String input,
                                String pattern,
                                String sub)
Replace all patterns in a String

Parameters:
input - - string to be transformed
pattern - - pattern to replace
sub - - replacement
Returns:
the updated string
See Also:
- JDK1.4 only

Apache JMeter

Copyright © 1998-2014 Apache Software Foundation. All Rights Reserved.