2 // This software is now distributed according to
\r
3 // the Lesser Gnu Public License. Please see
\r
4 // http://www.gnu.org/copyleft/lesser.txt for
\r
6 // -- Happy Computing!
\r
8 package com.stevesoft.pat;
\r
10 /** This class is just like FileRegex, except that its accept method
\r
11 only returns true if the file matching the pattern is not a directory.*/
\r
12 public class NonDirFileRegex
\r
15 public NonDirFileRegex()
\r
20 public NonDirFileRegex(String fp)
\r
26 public static String[] list(String f)
\r
28 return list(f, NONDIR);
\r