X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fcom%2Fstevesoft%2Fpat%2FDirFileRegex.java;h=bc62910e527408f471f85c06a18d8836a18349e2;hb=506d60f0e188723ddc91c26824b41ac7034df3fe;hp=24c0cf6832e51040bfaf88827576e237d9fb3720;hpb=60f2d6c034560415fd0139c8bc7df0c19cae1186;p=jalview.git diff --git a/src/com/stevesoft/pat/DirFileRegex.java b/src/com/stevesoft/pat/DirFileRegex.java index 24c0cf6..bc62910 100755 --- a/src/com/stevesoft/pat/DirFileRegex.java +++ b/src/com/stevesoft/pat/DirFileRegex.java @@ -1,30 +1,31 @@ -// -// 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 a directory.*/ -public class DirFileRegex - extends FileRegex -{ - public DirFileRegex() - { - dirflag = DIR; - } - - public DirFileRegex(String fp) - { - super(fp); - dirflag = DIR; - } - - public static String[] list(String f) - { - return list(f, DIR); - } -} +// +// 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 a directory. + */ +public class DirFileRegex extends FileRegex +{ + public DirFileRegex() + { + dirflag = DIR; + } + + public DirFileRegex(String fp) + { + super(fp); + dirflag = DIR; + } + + public static String[] list(String f) + { + return list(f, DIR); + } +}