Interface StaticFiles

All Superinterfaces:
FileFinder
All Known Implementing Classes:
BasicStaticFiles, StaticFiles.Void

public interface StaticFiles extends FileFinder
API for retrieving localized static files from either the classpath or file system.
See Also:
  • Method Details

    • create

      static StaticFiles.Builder create(BeanStore beanStore)
      Static creator.
      Parameters:
      beanStore - The bean store to use for creating beans.
      Returns:
      A new builder for this object.
    • resolve

      Resolve the specified path.
      Parameters:
      path - The path to resolve to a static file.
      locale - Optional locale.
      Returns:
      The resource, or null if not found.