Class RePollHandler.Extract

java.lang.Object
sunlabs.brazil.handler.RePollHandler.Extract
Enclosing class:
RePollHandler

public static class RePollHandler.Extract extends Object
A "bag" to store regular expression extraction instructions
  • Method Details

    • replace

      public String replace(String data)
      Do the substitution
    • extract

      public int extract(Properties props, String data)
      Do the extraction
      Parameters:
      props - where to put the extracted properties
      data - the data to extract from
      Returns:
      The number of extractions performed.
    • replace

      public boolean replace()
      true if the previous replace worked
    • extract

      public boolean extract()
    • result

      public boolean result()
    • reset

      public boolean reset()
    • fail

      public boolean fail()
    • succeed

      public boolean succeed()
    • toString

      public String toString()
      Overrides:
      toString in class Object