Class FilterWithRegularExpression

Object
AnchorBean<CopyFilesNaming<NoSharedState>>

public class FilterWithRegularExpression extends RegularExpressionBase
Rejects files that fail to match a particular regular-expression
Author:
Owen Feehan
  • Constructor Details

    • FilterWithRegularExpression

      public FilterWithRegularExpression()
  • Method Details

    • destinationPathRelative

      protected Optional<Path> destinationPathRelative(Path path, String regex)
      Specified by:
      destinationPathRelative in class RegularExpressionBase
    • isInvert

      public boolean isInvert()
      Iff true, then a file is rejected if the regular-expression matches and vice-versa.

      This is the opposite to normal behaviour.

    • setInvert

      public void setInvert(boolean invert)
      Iff true, then a file is rejected if the regular-expression matches and vice-versa.

      This is the opposite to normal behaviour.