KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jimm > util > Replacer


1 package jimm.util;
2
3 /**
4  * Used by {@link StringUtils#replaceDelimited} for replacing delimited
5  * strings within one string with other strings.
6  *
7  * @author Jim Menard, <a HREF="mailto:jimm@io.com">jimm@io.com</a>
8  */

9 public interface Replacer {
10
11 /**
12  * Given a string, returns any object, including <code>null</code>. How's
13  * that for generic?
14  *
15  * @param str a string (surprise!)
16  */

17 public Object JavaDoc replace(String JavaDoc str);
18
19 }
20
Popular Tags