]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/MigrationTools/org/tianocore/migration/PathIterator.java
add dxsfile convert
[mirror_edk2.git] / Tools / Source / MigrationTools / org / tianocore / migration / PathIterator.java
index 0207577ba36f73a23e25bdf1ff18c401439ad9c8..ffd11070672b124d8af64690cde405b4764a2c4e 100644 (file)
@@ -1,3 +1,15 @@
+/** @file\r
\r
+ Copyright (c) 2006, Intel Corporation\r
+ All rights reserved. This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution.  The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
+ **/\r
 package org.tianocore.migration;\r
 \r
 import java.util.*;\r
@@ -15,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
@@ -30,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