mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
add loopFile
This commit is contained in:
@@ -231,6 +231,15 @@ public class FileUtilTest {
|
||||
Console.log(file.getPath());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void loopFilesWithDepthTest() {
|
||||
List<File> files = FileUtil.loopFiles(FileUtil.file("d:/m2_repo"), 2, null);
|
||||
for (File file : files) {
|
||||
Console.log(file.getPath());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getParentTest() {
|
||||
|
Reference in New Issue
Block a user