|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRegularExpressionService
IRegularExpressionService
Method Summary | |
---|---|
java.util.List<RegularExpression> |
getAllRegularExpression()
return a list of regular expression |
RegularExpression |
getRegularExpressionByKey(int nKey)
return the regular expression object whose identifier is specified in parameter |
boolean |
isMatches(java.lang.String strValueToTest,
RegularExpression regularExpression)
return true if the value in parameter verify the regular expression |
boolean |
isMatches(java.lang.String strValueToTest,
java.lang.String strPattern)
return true if the value in parameter verify the pattern |
boolean |
isPatternValide(RegularExpression regularExpression)
return false if the expression's syntax is invalid |
boolean |
isPatternValide(java.lang.String strPattern)
return false if the pattern is invalid |
Method Detail |
---|
boolean isPatternValide(java.lang.String strPattern)
strPattern
- the pattern to test
boolean isPatternValide(RegularExpression regularExpression)
regularExpression
- the regular expression object to test
boolean isMatches(java.lang.String strValueToTest, java.lang.String strPattern)
strValueToTest
- the value to teststrPattern
- the regular expression Pattern
boolean isMatches(java.lang.String strValueToTest, RegularExpression regularExpression)
strValueToTest
- the value to testregularExpression
- the regular expression
RegularExpression getRegularExpressionByKey(int nKey)
nKey
- the regular expression key
java.util.List<RegularExpression> getAllRegularExpression()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |