public class FileUtils extends Object
| Constructor and Description |
|---|
FileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Stream<Path> |
listFiles(File folder,
boolean recursive)
Lists files under given folder.
|
public static Stream<Path> listFiles(File folder, boolean recursive) throws IOException
folder - the folder to list files in.recursive - if true then subfolder files will be included recursively.IOException - if an I/O exception occurs.Copyright © 2021. All rights reserved.