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 a directory.*/
\r
12 public class DirFileRegex extends FileRegex {
\r
13 public DirFileRegex() { dirflag = DIR; }
\r
14 public DirFileRegex(String fp) { super(fp); dirflag = DIR; }
\r
15 public static String[] list(String f) {
\r