]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/MigrationTools/org/tianocore/migration/PathIterator.java
enhance ForDoAll
[mirror_edk2.git] / Tools / Source / MigrationTools / org / tianocore / migration / PathIterator.java
index 00dfe719aa2090d883256acb24de71b70303dbe7..ffd11070672b124d8af64690cde405b4764a2c4e 100644 (file)
@@ -27,7 +27,7 @@ public final class PathIterator implements Common.ForDoAll {
        private HashSet<String> pathlist = new HashSet<String>();\r
        private Iterator<String> it = null;\r
 \r
-       public final void toDo(String path) throws Exception {\r
+       public final void run(String path) throws Exception {\r
                pathlist.add(path);\r
        }\r
 \r
@@ -42,4 +42,12 @@ public final class PathIterator implements Common.ForDoAll {
        public final String toString() {\r
                return pathlist.toString();\r
        }\r
+       \r
+       public boolean dirFilter(String filepath) {\r
+               return true;\r
+       }\r
+       \r
+       public boolean fileFilter(String filepath) {\r
+               return true;\r
+       }\r
 }\r