|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--SSF.OS.NetFlow.Filter.RERange
RERange
The range is specified by a Regular expression. It checks whether a given string
matches the regular expression.
It uses the gnu.regexp package by Wesley Warden Bigg.
| Constructor Summary | |
RERange()
|
|
| Method Summary | |
void |
config(com.renesys.raceway.DML.Configuration cfg,
byte dataType)
Config the Regular Expression Range create the RE (Regular Expression) object needed reg_exp -- regular expression. |
boolean |
inRange(java.lang.Object data,
byte dataType)
check wether given string matches the regular expression |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RERange()
| Method Detail |
public void config(com.renesys.raceway.DML.Configuration cfg,
byte dataType)
throws com.renesys.raceway.DML.configException
config in interface Rangecfg - the configuration that contains "reg_exp" attributedataType - the type of the data that will be checked, should be String or IP here.
com.renesys.raceway.DML.configException
public boolean inRange(java.lang.Object data,
byte dataType)
inRange in interface Range
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||