Remove redundancy in Eclipse
[jalview.git] / src / com / stevesoft / pat / NonDirFileRegex.java
1 //\r
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
5 // the details.\r
6 //    -- Happy Computing!\r
7 //\r
8 package com.stevesoft.pat;\r
9 \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 extends FileRegex {\r
13     public NonDirFileRegex() { dirflag = NONDIR; }\r
14     public NonDirFileRegex(String fp) { super(fp); dirflag = NONDIR; }\r
15     public static String[] list(String f) {\r
16         return list(f,NONDIR);\r
17     }\r
18 }\r