Interface NBPathsAPI.DoSearch
- All Known Subinterfaces:
NBPathsAPI.Facets,NBPathsAPI.GetExtensions,NBPathsAPI.GetPathname,NBPathsAPI.GetPrefixes
- All Known Implementing Classes:
NBIO
- Enclosing interface:
NBPathsAPI
public static interface NBPathsAPI.DoSearch
-
Method Summary
Modifier and TypeMethodDescriptionfirst()Return the result of resolving the resource.list()Provide a list of all matching content that was matched by the search qualifiersContent<?> one()Find exactly one source of content under the search parameters given.relativeTo(String... base) Return a list of paths which are comprised of the relative part once the provided base has been removed from the front.Return the result of resolving each of the resource names given.
-
Method Details
-
first
-
resolveEach
-
list
-
relativeTo
Return a list of paths which are comprised of the relative part once the provided base has been removed from the front. This is done per content item within the direct filesystem the path belongs to.- Parameters:
base- The root path elements to remove- Returns:
- Relative paths
-
one
Content<?> one()Find exactly one source of content under the search parameters given. It is an error if you find none, or more than one.- Returns:
- An optional content element.
-