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

Class StringUtil


public final class StringUtil
extends java.lang.Object

String utilities method.

Method Summary

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

Method Details

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 © 2000-2006 Apache Software Foundation. All Rights Reserved.