Class HiddenPathFilter

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.hadoop.fs.PathFilter

    public class HiddenPathFilter
    extends java.lang.Object
    implements org.apache.hadoop.fs.PathFilter, java.io.Serializable
    A PathFilter that filters out hidden paths. A path is considered to be hidden when the path name starts with a period ('.') or an underscore ('_').
    See Also:
    Serialized Form
    • Method Detail

      • accept

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