01: package jimm.util;
02:
03: /**
04: * Used by {@link StringUtils#replaceDelimited} for replacing delimited
05: * strings within one string with other strings.
06: *
07: * @author Jim Menard, <a href="mailto:jimm@io.com">jimm@io.com</a>
08: */
09: 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 replace(String str);
18:
19: }
|