public class URLMatchCondition extends java.lang.Object implements AcceptCondition
Modifier and Type | Field and Description |
---|---|
java.util.regex.Pattern |
regexp |
Constructor and Description |
---|
URLMatchCondition(java.util.regex.Pattern regexp)
Constructor.
|
URLMatchCondition(java.lang.String regexp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(DocumentProcessingContext ctx,
ProcessableDocument pdoc) |
java.lang.String |
toString() |
public URLMatchCondition(java.lang.String regexp)
regexp
- The case-insensitive regexp as a string.public URLMatchCondition(java.util.regex.Pattern regexp)
regexp
- The regexp.public java.lang.String toString()
toString
in interface AcceptCondition
toString
in class java.lang.Object
public boolean accept(DocumentProcessingContext ctx, ProcessableDocument pdoc)
accept
in interface AcceptCondition
Copyright © 2013 Dassault Systèmes, All Rights Reserved.