X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fcom%2Fstevesoft%2Fpat%2FNonDirFileRegex.java;h=864243c1e792479fce3d22caa97bcf080e529c30;hb=e7338a61f3ce96dadf44ac80b2b32cc5ba4b94c8;hp=cb7b69d837abbe55e72bb853783f9e95970fc088;hpb=7bc226b58110fa26d9dbd3f0c78095d06909ffc3;p=jalview.git diff --git a/src/com/stevesoft/pat/NonDirFileRegex.java b/src/com/stevesoft/pat/NonDirFileRegex.java index cb7b69d..864243c 100755 --- a/src/com/stevesoft/pat/NonDirFileRegex.java +++ b/src/com/stevesoft/pat/NonDirFileRegex.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 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); - } -} +// +// 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); + } +}