Class AntPathMatcherGenericFileFilter<T>

java.lang.Object
org.apache.camel.component.file.AntPathMatcherGenericFileFilter<T>
Type Parameters:
T -
All Implemented Interfaces:
GenericFileFilter<T>

@Deprecated public class AntPathMatcherGenericFileFilter<T> extends Object implements GenericFileFilter<T>
Deprecated.
File filter using AntPathMatcher.

Exclude take precedence over includes. If a file match both exclude and include it will be regarded as excluded.

  • Constructor Details

    • AntPathMatcherGenericFileFilter

      public AntPathMatcherGenericFileFilter()
      Deprecated.
    • AntPathMatcherGenericFileFilter

      public AntPathMatcherGenericFileFilter(String... includes)
      Deprecated.
  • Method Details

    • accept

      public boolean accept(GenericFile<T> file)
      Deprecated.
      Description copied from interface: GenericFileFilter
      Tests whether the specified generic file should be included
      Specified by:
      accept in interface GenericFileFilter<T>
      Parameters:
      file - the generic file to be tested
      Returns:
      true if and only if file should be included
    • getExcludes

      public String[] getExcludes()
      Deprecated.
    • setExcludes

      public void setExcludes(String[] excludes)
      Deprecated.
    • getIncludes

      public String[] getIncludes()
      Deprecated.
    • setIncludes

      public void setIncludes(String[] includes)
      Deprecated.
    • setExcludes

      public void setExcludes(String excludes)
      Deprecated.
      Sets excludes using a single string where each element can be separated with comma
    • setIncludes

      public void setIncludes(String includes)
      Deprecated.
      Sets includes using a single string where each element can be separated with comma
    • setCaseSensitive

      public void setCaseSensitive(boolean caseSensitive)
      Deprecated.
      Sets case sensitive flag on AntPathMatcherFileFilter

      Is by default turned on true.

    • isCaseSensitive

      public boolean isCaseSensitive()
      Deprecated.