X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fcom%2Fstevesoft%2Fpat%2FDirFileRegex.java;h=24c0cf6832e51040bfaf88827576e237d9fb3720;hb=7bc226b58110fa26d9dbd3f0c78095d06909ffc3;hp=731457c700e3ea043e0e984142b813c1d7eab9a7;hpb=c40cf903f740a72ab63dd1abc10fa33450ce660d;p=jalview.git diff --git a/src/com/stevesoft/pat/DirFileRegex.java b/src/com/stevesoft/pat/DirFileRegex.java index 731457c..24c0cf6 100755 --- a/src/com/stevesoft/pat/DirFileRegex.java +++ b/src/com/stevesoft/pat/DirFileRegex.java @@ -6,14 +6,25 @@ // -- Happy Computing! // package com.stevesoft.pat; -import java.io.File; /** 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); - } +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); + } }