public interface FileDiscoveryService
| Modifier and Type | Method and Description |
|---|---|
Collection<Path> |
discoverFiles(Path pathToSearch,
DirectoryStream.Filter<Path> filter)
Discover files.
|
Collection<Path> |
discoverFiles(Path pathToSearch,
DirectoryStream.Filter<Path> filter,
boolean recursive)
Discover files
|
Collection<Path> discoverFiles(Path pathToSearch, DirectoryStream.Filter<Path> filter, boolean recursive)
pathToSearch - The root Path to search. Sub-folders are not included.filter - A filter to restrict the matched files.recursive - True is sub-folders are to be scannedCollection<Path> discoverFiles(Path pathToSearch, DirectoryStream.Filter<Path> filter)
pathToSearch - The root Path to search. Sub-folders are not included.filter - A filter to restrict the matched files.Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.