|
|||||||||
Home >> All >> org >> acmsl >> [ regexpplugin overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
org.acmsl.regexpplugin
Interface Compiler

- public interface Compiler
Represents a regexp compiler. Different implementations vary but they all must respect this set of methods.
- Version:
- $Revision: 1.6 $
Field Summary | |
static Version |
VERSION
Concrete version object updated everytime it's checked-in in a CVS repository. |
Method Summary | |
Pattern |
compile(java.lang.String regexp)
Compiles given regular expression and creates a Pattern object to apply such rule on concrete text contents. |
boolean |
isCaseSensitive()
Retrieves if the compiler is configured to be case sensitive or not. |
boolean |
isMultiline()
Retrieves if the compiler is configured to care about new line delimiters or not. |
void |
setCaseSensitive(boolean caseSensitive)
Sets whether the compiler should care about case sensitiveness or not. |
void |
setMultiline(boolean multiline)
Sets whether the compiler should care about new line delimiters or not. |
Field Detail |
VERSION
public static final Version VERSION
- Concrete version object updated everytime it's checked-in in a CVS
repository.
Method Detail |
compile
public Pattern compile(java.lang.String regexp) throws MalformedPatternException
- Compiles given regular expression and creates a Pattern object to
apply such rule on concrete text contents.
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
- Sets whether the compiler should care about case sensitiveness
or not.
isCaseSensitive
public boolean isCaseSensitive()
- Retrieves if the compiler is configured to be case sensitive or not.
setMultiline
public void setMultiline(boolean multiline)
- Sets whether the compiler should care about new line delimiters
or not.
isMultiline
public boolean isMultiline()
- Retrieves if the compiler is configured to care about new line
delimiters or not.
|
|||||||||
Home >> All >> org >> acmsl >> [ regexpplugin overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |