|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplacingHitListener
Project: sstringsearch
File: ReplacingHitListener.java
Class: ReplacingHitListener
Created: 13. mar. 2008
Description:
A HitListener that is notified upon hits when calling StringSearch.searchAndReplace() The searchterm found is replaced in the result with the String returned from the replace() method. Implementations of this class should be fully serializable if one wants to serialize the finite state automata graph.
Method Summary | |
---|---|
String |
replace(String stringToReplace,
Object... callbackArguments)
This method is called whenever the associated string is encountered in the input. |
Method Detail |
---|
String replace(String stringToReplace, Object... callbackArguments)
stringToReplace
- The String found in input, will be replaced in outputcallbackArguments
- Optional callback arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |