org.apache.manifoldcf.crawler.interfaces
Class BucketDescription

java.lang.Object
  extended by org.apache.manifoldcf.crawler.interfaces.BucketDescription

public class BucketDescription
extends java.lang.Object

Class which describes a specification of how to map a string to another string. This facility is by necessity based on PostgreSQL's implementation of Posix regular expressions, and the substring() operator they provide to extract data from a matched expression of these kinds. See http://www.postgresql.org/docs/7.4/static/functions-matching.html for details.


Field Summary
static java.lang.String _rcsid
           
protected  boolean isSensitive
          Set to true if the match should be case sensitive, or false if insensitive.
protected  java.lang.String regexp
          This is the regexp to match.
 
Constructor Summary
BucketDescription(java.lang.String regexp, boolean isSensitive)
          Constructor.
 
Method Summary
 java.lang.String getRegexp()
          Get the regexp value.
 boolean isSensitive()
          Is this case sensitive?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_rcsid

public static final java.lang.String _rcsid
See Also:
Constant Field Values

regexp

protected java.lang.String regexp
This is the regexp to match. This will be Posix.


isSensitive

protected boolean isSensitive
Set to true if the match should be case sensitive, or false if insensitive.

Constructor Detail

BucketDescription

public BucketDescription(java.lang.String regexp,
                         boolean isSensitive)
Constructor.

Method Detail

getRegexp

public java.lang.String getRegexp()
Get the regexp value.


isSensitive

public boolean isSensitive()
Is this case sensitive?