Interface NBPathsAPI.GetSource

All Known Subinterfaces:
NBPathsAPI.Facets
All Known Implementing Classes:
NBIO
Enclosing interface:
NBPathsAPI

public static interface NBPathsAPI.GetSource
  • Method Details

    • localContent

      NBPathsAPI.GetPrefixes localContent()
      Only provide content from the class path and the local filesystem.
      Returns:
      this builder
    • remoteContent

      NBPathsAPI.GetPrefixes remoteContent()
      Only return content from remote URLs. If the user is providing non-URL content in this context, it is an error. Throw an error in that case.
      Returns:
      this builder
    • internalContent

      NBPathsAPI.GetPrefixes internalContent()
      Only return content from the runtime classpath, internal resources that are bundled, and do not return content on the file system.
      Returns:
      this builder
    • fileContent

      NBPathsAPI.GetPrefixes fileContent()
      Only return content from the filesystem, but not remote URLs nor internal bundled resources.
      Returns:
      this builder
    • cachedContent

      NBPathsAPI.GetPrefixes cachedContent()
      Return content from the NBIO cache. If the content is not in the cache look for it in the given URL and put it in the cache.
      Returns:
      this builder
    • allContent

      Return content from everywhere, from remote URls, or from the file system and then the internal bundled content if not found in the file system first.
      Returns:
      this builder
    • chainContent

      Return content from protocols that you choose in the order you specify
      Parameters:
      protocols - A list of protocols to include in the search
      Returns:
      this builder