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