Jakarta ORO

org.apache.oro.text.regex
Class Perl5CompilerOptions

java.lang.Object
  extended byorg.apache.oro.text.regex.Perl5CompilerOptions
All Implemented Interfaces:
PatternCompilerOptions

public class Perl5CompilerOptions
extends java.lang.Object
implements PatternCompilerOptions

Since:
2.1
Version:
2.1-dev-1

Field Summary
 
Fields inherited from interface org.apache.oro.text.regex.PatternCompilerOptions
CASE_INSENSITIVE, DEFAULT, MULTILINE
 
Constructor Summary
Perl5CompilerOptions()
           
 
Method Summary
 int getMask(int option)
          Maps one of the PatternCompilerOptions constants to a mask value that can be passed to a PatternCompiler implementation to compile a pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Perl5CompilerOptions

public Perl5CompilerOptions()
Method Detail

getMask

public int getMask(int option)
            throws java.lang.UnsupportedOperationException
Description copied from interface: PatternCompilerOptions
Maps one of the PatternCompilerOptions constants to a mask value that can be passed to a PatternCompiler implementation to compile a pattern.

Specified by:
getMask in interface PatternCompilerOptions
Parameters:
option - A PatternCompilerOptions option constant.
Returns:
The mask value specific to the regular expression engine that corresponds to the option parameter.
Throws:
java.lang.UnsupportedOperationException

Jakarta ORO

Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.