Interface NBPathsAPI.GetPathname
- All Superinterfaces:
NBPathsAPI.DoSearch,NBPathsAPI.GetExtensions
- All Known Subinterfaces:
NBPathsAPI.Facets,NBPathsAPI.GetPrefixes
- All Known Implementing Classes:
NBIO
- Enclosing interface:
NBPathsAPI
-
Method Summary
Modifier and TypeMethodDescriptionProvide the names of the resources to be resolved.Provide a combined prefix, name and suffix in a combined form.Methods inherited from interface io.nosqlbench.nb.api.nbio.NBPathsAPI.DoSearch
first, list, one, relativeTo, resolveEachMethods inherited from interface io.nosqlbench.nb.api.nbio.NBPathsAPI.GetExtensions
extensionSet, extensionSets
-
Method Details
-
pathname
Provide the names of the resources to be resolved. More than one resource may be provided. If no name is provided, then a wildcard search is assumed.- Parameters:
name- The name of the resource to load- Returns:
- this builder
-
search
Provide a combined prefix, name and suffix in a combined form. For each search template provided, the value is sliced up into the three components (prefix, name, extension) and added as if they were specified separately using the following rules:- Any suffix like
is stripped off as the extension..name - Any literal (non-pattern) path parts are taken as the prefix.
- The remainder is taken as the name.
my/prefix/path/..?/name.txtyields:- prefix:
my/prefix/path/ - name:
..?/name - extension:
.txt
- prefix:
.*.yamlyeilds:- prefix:
./ - name:
.* - extension:
.yaml
- prefix:
- Parameters:
name-- Returns:
- Any suffix like
-