Interface NBPathsAPI.GetExtension

All Superinterfaces:
NBPathsAPI.DoSearch
All Known Subinterfaces:
NBPathsAPI.Facets, NBPathsAPI.GetName, NBPathsAPI.GetPrefix
All Known Implementing Classes:
NBIO
Enclosing interface:
NBPathsAPI

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

    • extension

      NBPathsAPI.DoSearch extension(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