-
- All Known Implementing Classes:
BlockPrematchHandle
,MaxLinesPrematchHandle
public interface IPrematchHandle
This is an interface to be used by pre-match handlers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
process(String s)
This is for the prematch handle to process the incoming string (such as cache it, trim it, etc).String
release()
This is to release the string.
-
-
-
Method Detail
-
process
void process(String s)
This is for the prematch handle to process the incoming string (such as cache it, trim it, etc).- Parameters:
s
-
-
release
String release()
This is to release the string. Note, depending on the actual implementation of the pre-match handle, the released string can have multiple lines.- Returns:
- a String object.
-
-