org.apache.tools.ant.taskdefs.optional.sitraka

Class StringUtil

public final class StringUtil extends Object

String utilities method.
Method Summary
static voidreplace(StringBuffer src, String find, String replacement)
Replaces all occurences of find with replacement in the source StringBuffer.

Method Detail

replace

public static void replace(StringBuffer src, String find, String replacement)
Replaces all occurences of find with replacement in the source StringBuffer.

Parameters: src the original string buffer to modify. find the string to be replaced. replacement the replacement string for find matches.

Copyright