|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.util.RegularExpressionConverter
public class RegularExpressionConverter
Converter for a "matches" regular expression replacing the Java regular expression constructs with datastore-specific constructs.
| Constructor Summary | |
|---|---|
RegularExpressionConverter(char zeroOrMoreChar,
char anyChar,
char escapeChar)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
convert(java.lang.String input)
Convert a regular expression from Java to use the specified constructs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegularExpressionConverter(char zeroOrMoreChar,
char anyChar,
char escapeChar)
zeroOrMoreChar - The pattern string for representing zero or more characters.
Most of databases will use the percent sign character.anyChar - The pattern string for representing one character.
Most of databases will use the underscore character.escapeChar - The pattern string for representing to escape zeroOrMoreChar or anyChar.
Most of databases will use the backslash \ character.| Method Detail |
|---|
public java.lang.String convert(java.lang.String input)
input - the pattern to parse.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||