Class HiddenFileFilter

  • All Implemented Interfaces:
    org.apache.hadoop.fs.PathFilter

    public class HiddenFileFilter
    extends Object
    implements org.apache.hadoop.fs.PathFilter
    A PathFilter that filters out hidden files. A file is considered to be hidden, and should not be considered for processing, when the file name starts with a period ('.') or an underscore ('_').
    • Method Detail

      • accept

        public boolean accept​(org.apache.hadoop.fs.Path p)
        Specified by:
        accept in interface org.apache.hadoop.fs.PathFilter