public class FilterWithRegularExpression extends RegularExpressionBase
Constructor and Description |
---|
FilterWithRegularExpression() |
Modifier and Type | Method and Description |
---|---|
protected Optional<Path> |
destinationPathRelative(Path path,
String regex) |
boolean |
isInvert()
Iff true, then a file is rejected if the regular-expression matches and vice-versa.
|
void |
setInvert(boolean invert)
Iff true, then a file is rejected if the regular-expression matches and vice-versa.
|
destinationPathRelative, getRegex, setRegex
beforeCopying, destinationPathRelative, getCopyFilesNaming, setCopyFilesNaming
destinationPath
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
protected Optional<Path> destinationPathRelative(Path path, String regex)
destinationPathRelative
in class RegularExpressionBase
public boolean isInvert()
This is the opposite to normal behaviour.
public void setInvert(boolean invert)
This is the opposite to normal behaviour.
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.