Package PamUtils

Class PamWildCardFileFilter

java.lang.Object
org.apache.commons.io.filefilter.AbstractFileFilter
org.apache.commons.io.filefilter.WildcardFileFilter
PamUtils.PamWildCardFileFilter
All Implemented Interfaces:
FileFilter, FilenameFilter, Serializable, org.apache.commons.io.filefilter.IOFileFilter

public class PamWildCardFileFilter extends org.apache.commons.io.filefilter.WildcardFileFilter
See Also:
  • Constructor Details

    • PamWildCardFileFilter

      public PamWildCardFileFilter(List<String> wildcards, org.apache.commons.io.IOCase caseSensitivity)
    • PamWildCardFileFilter

      public PamWildCardFileFilter(List<String> wildcards)
    • PamWildCardFileFilter

      public PamWildCardFileFilter(String wildcard, org.apache.commons.io.IOCase caseSensitivity)
    • PamWildCardFileFilter

      public PamWildCardFileFilter(String wildcard)
    • PamWildCardFileFilter

      public PamWildCardFileFilter(String[] wildcards, org.apache.commons.io.IOCase caseSensitivity)
    • PamWildCardFileFilter

      public PamWildCardFileFilter(String[] wildcards)
  • Method Details

    • accept

      public boolean accept(File dir, String name)
      Specified by:
      accept in interface FilenameFilter
      Specified by:
      accept in interface org.apache.commons.io.filefilter.IOFileFilter
      Overrides:
      accept in class org.apache.commons.io.filefilter.WildcardFileFilter
    • accept

      public boolean accept(File file)
      Specified by:
      accept in interface FileFilter
      Specified by:
      accept in interface org.apache.commons.io.filefilter.IOFileFilter
      Overrides:
      accept in class org.apache.commons.io.filefilter.WildcardFileFilter
    • isAcceptFolders

      public boolean isAcceptFolders()
      Returns:
      the acceptFolders
    • setAcceptFolders

      public void setAcceptFolders(boolean acceptFolders)
      Parameters:
      acceptFolders - the acceptFolders to set