Class FilesProviderWithoutDirectory

Object
AnchorBean<FilesProvider>
FilesProvider
FilesProviderWithoutDirectory
Direct Known Subclasses:
Combine, FromAnnotations, Rooted

public abstract class FilesProviderWithoutDirectory extends FilesProvider
Base class for implementations of FilesProvider which do not have an associated directory.
Author:
Owen Feehan
  • Constructor Details

    • FilesProviderWithoutDirectory

      public FilesProviderWithoutDirectory()
  • Method Details

    • rootDirectory

      public Optional<Path> rootDirectory(InputContextParameters inputContext)
      Description copied from class: FilesProvider
      A root directory for these files, if it exists.

      Any file that is part of the collection returned by this provider, must exist inside this directory (either directly or in any nested subdirectories).

      Specified by:
      rootDirectory in class FilesProvider
      Parameters:
      inputContext - the input-context.
      Returns:
      a path to this directory.