Interface IPrematchHandle

All Known Implementing Classes:
BlockPrematchHandle, MaxLinesPrematchHandle

public interface IPrematchHandle
This is an interface to be used by pre-match handlers.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This is for the prematch handle to process the incoming string (such as cache it, trim it, etc).
    This is to release the string.
  • Method Details

    • 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.