public final class FileUtils extends Object
Constructor and Description |
---|
FileUtils() |
Modifier and Type | Method and Description |
---|---|
static List<File> |
listFiles(File dir,
String ext,
boolean recursively)
Find all files in a directory that satisfy a particular extension.
|
public static List<File> listFiles(File dir, String ext, boolean recursively)
dir
- top-level directory to search forext
- extension to search forrecursively
- if true
search is performed recursivelyList
of all files foundCopyright © 2010–2019 GZoltar. All rights reserved.