-//\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
-\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\r
- extends FileRegex\r
-{\r
- public NonDirFileRegex()\r
- {\r
- dirflag = NONDIR;\r
- }\r
-\r
- public NonDirFileRegex(String fp)\r
- {\r
- super(fp);\r
- dirflag = NONDIR;\r
- }\r
-\r
- public static String[] list(String f)\r
- {\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);
+ }
+}