Interface AssetService


public interface AssetService
  • Method Details

    • get

      default Optional<File> get(String fileName)
    • getFilePath

      default String getFilePath(String fileName)
    • getFile

      File getFile(String fileName)
    • getMimeType

      default String getMimeType(String fileName)
    • store

      String store(String fileName, Asset asset)
      Stores the given assets inputstream in the local asset store and replaces the wrapped asset with a new asset source referencing the filename in the local store.
    • remove

      boolean remove(String fileName)
    • list

      List<File> list()
    • exists

      default boolean exists(String fileName)