|
![]() |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsunlabs.brazil.handler.RePollHandler.Extract
public static class RePollHandler.Extract
A "bag" to store regular expression extraction instructions
Method Summary | |
---|---|
boolean |
extract()
|
int |
extract(Properties props,
String data)
Do the extraction |
boolean |
fail()
|
boolean |
replace()
true if the previous replace worked |
String |
replace(String data)
Do the substitution |
boolean |
reset()
|
boolean |
result()
|
boolean |
succeed()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String replace(String data)
public int extract(Properties props, String data)
props
- where to put the extracted propertiesdata
- the data to extract from
public boolean replace()
public boolean extract()
public boolean result()
public boolean reset()
public boolean fail()
public boolean succeed()
public String toString()
toString
in class Object
|
Version Kenai-svn-r24, Generated 08/18/09 Copyright (c) 2001-2009, Sun Microsystems. |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |