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

java.lang.Objectorg.acmsl.regexpplugin.gnuregexp.CompilerGNUAdapter
- All Implemented Interfaces:
- org.acmsl.regexpplugin.Compiler
- public class CompilerGNUAdapter
- extends java.lang.Object
- implements org.acmsl.regexpplugin.Compiler
- extends java.lang.Object
GNU Regexp 1.1.4-specific compiler adapter. This class makes possible the use of GNU Regexp 1.1.4 compilers inside this API.
- Version:
- $Revision: 1.9 $
Field Summary | |
private boolean |
m__bCaseSensitive
Case sensitiveness. |
private boolean |
m__bMultiline
Multiline parsing. |
static Version |
VERSION
Concrete version object updated everytime it's checked-in in a CVS repository. |
Constructor Summary | |
CompilerGNUAdapter()
|
Method Summary | |
org.acmsl.regexpplugin.Pattern |
compile(java.lang.String regexp)
Compiles given regular expression and creates a Pattern object to apply such rule on concrete text contents. |
static Version |
getClassVersion()
Retrieves the current version of this class. |
Version |
getVersion()
Retrieves the current version of this object. |
boolean |
isCaseSensitive()
Retrieves whether the compiler should care about case sensitiveness or not. |
boolean |
isMultiline()
Sets whether the compiler should care about new line delimiters or not. |
private boolean |
resetOptions()
Resets the compiler options. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
m__bCaseSensitive
private boolean m__bCaseSensitive
- Case sensitiveness.
m__bMultiline
private boolean m__bMultiline
- Multiline parsing.
VERSION
public static final Version VERSION
- Concrete version object updated everytime it's checked-in in a CVS
repository.
Constructor Detail |
CompilerGNUAdapter
public CompilerGNUAdapter()
Method Detail |
compile
public org.acmsl.regexpplugin.Pattern compile(java.lang.String regexp) throws org.acmsl.regexpplugin.MalformedPatternException
- Compiles given regular expression and creates a Pattern object
to apply such rule on concrete text contents.
- Specified by:
compile
in interfaceorg.acmsl.regexpplugin.Compiler
resetOptions
private boolean resetOptions()
- Resets the compiler options.
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
- Sets whether the compiler should care about case sensitiveness
or not.
- Specified by:
setCaseSensitive
in interfaceorg.acmsl.regexpplugin.Compiler
isCaseSensitive
public boolean isCaseSensitive()
- Retrieves whether the compiler should care about case sensitiveness
or not.
- Specified by:
isCaseSensitive
in interfaceorg.acmsl.regexpplugin.Compiler
setMultiline
public void setMultiline(boolean multiline)
- Sets whether the compiler should care about new line delimiters
or not.
- Specified by:
setMultiline
in interfaceorg.acmsl.regexpplugin.Compiler
isMultiline
public boolean isMultiline()
- Sets whether the compiler should care about new line delimiters
or not.
- Specified by:
isMultiline
in interfaceorg.acmsl.regexpplugin.Compiler
getVersion
public Version getVersion()
- Retrieves the current version of this object.
getClassVersion
public static Version getClassVersion()
- Retrieves the current version of this class.
|
|||||||||
Home >> All >> org >> acmsl >> regexpplugin >> [ gnuregexp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |