Class ExcludeRegExpPaths

  • All Implemented Interfaces:
    Filter<ArchivePath>

    public class ExcludeRegExpPaths
    extends java.lang.Object
    implements Filter<ArchivePath>
    IncludeRegExpPath Filter to exclude all ArchivePaths that match a given Regular Expression.
    Version:
    $Revision: $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String expression  
    • Constructor Summary

      Constructors 
      Constructor Description
      ExcludeRegExpPaths​(java.lang.String expression)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean include​(ArchivePath path)
      Called per operation in a multi add operation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • expression

        private java.lang.String expression
    • Constructor Detail

      • ExcludeRegExpPaths

        public ExcludeRegExpPaths​(java.lang.String expression)
    • Method Detail

      • include

        public boolean include​(ArchivePath path)
        Description copied from interface: Filter
        Called per operation in a multi add operation.
        Specified by:
        include in interface Filter<ArchivePath>
        Parameters:
        path - a object to filter on
        Returns:
        true if the object should be included in target