-//\r
-// This software is now distributed according to\r
-// the Lesser Gnu Public License. Please see\r
-// http://www.gnu.org/copyleft/lesser.txt for\r
-// the details.\r
-// -- Happy Computing!\r
-//\r
-package com.stevesoft.pat;\r
-import java.io.File;\r
-\r
-/** This class is just like FileRegex, except that its accept method\r
- only returns true if the file matching the pattern is not a directory.*/\r
-public class NonDirFileRegex extends FileRegex {\r
- public NonDirFileRegex() { dirflag = NONDIR; }\r
- public NonDirFileRegex(String fp) { super(fp); dirflag = NONDIR; }\r
- public static String[] list(String f) {\r
- return list(f,NONDIR);\r
- }\r
-}\r
+//
+// This software is now distributed according to
+// the Lesser Gnu Public License. Please see
+// http://www.gnu.org/copyleft/lesser.txt for
+// the details.
+// -- Happy Computing!
+//
+package com.stevesoft.pat;
+
+/**
+ * This class is just like FileRegex, except that its accept method only returns
+ * true if the file matching the pattern is not a directory.
+ */
+public class NonDirFileRegex extends FileRegex
+{
+ public NonDirFileRegex()
+ {
+ dirflag = NONDIR;
+ }
+
+ public NonDirFileRegex(String fp)
+ {
+ super(fp);
+ dirflag = NONDIR;
+ }
+
+ public static String[] list(String f)
+ {
+ return list(f, NONDIR);
+ }
+}