Interface NBPathsAPI.GetExtensions

All Superinterfaces:
NBPathsAPI.DoSearch
All Known Subinterfaces:
NBPathsAPI.Facets, NBPathsAPI.GetPathname, NBPathsAPI.GetPrefixes
All Known Implementing Classes:
NBIO
Enclosing interface:
NBPathsAPI

public static interface NBPathsAPI.GetExtensions extends NBPathsAPI.DoSearch
  • Method Details

    • extensionSet

      NBPathsAPI.GetExtensions extensionSet(String... extensions)
      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

      NBPathsAPI.GetExtensions extensionSets(Set<String>... cosets)