Interface NBPathsAPI.GetExtensions
- All Superinterfaces:
NBPathsAPI.DoSearch
- All Known Subinterfaces:
NBPathsAPI.Facets,NBPathsAPI.GetPathname,NBPathsAPI.GetPrefixes
- All Known Implementing Classes:
NBIO
- Enclosing interface:
NBPathsAPI
-
Method Summary
Modifier and TypeMethodDescriptionextensionSet(String... extensions) provide a list of optional file extensions which should be considered.extensionSets(Set<String>... cosets) Methods inherited from interface io.nosqlbench.nb.api.nbio.NBPathsAPI.DoSearch
first, list, one, relativeTo, resolveEach
-
Method Details
-
extensionSet
provide a list of optional file extensions which should be considered. If the content is not found under the provided name, then each of the extension is tried in order. Any provided names are combined with the extensions to create an expanded list of paths to search for. if extensions are provided without a name, then wildcards are created with the extensions as suffix patterns.- Parameters:
extensions- The extension names to try- Returns:
- this builder
-
extensionSets
-