All Known Implementing Classes:
SummernoteFileStorage

public interface SummernoteStorage
Used to provide different implementations to store images. See example implementation SummernoteFileStorage
Author:
Tobias Soloschenko
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    getContent(String imageName)
    Gets the content of an image
    The storage id
    void
    writeContent(String imageName, InputStream inputStream)
    Writes the content of the image
  • Method Details

    • writeContent

      void writeContent(String imageName, InputStream inputStream)
      Writes the content of the image
      Parameters:
      imageName - the image name
      inputStream - the input stream of the image
    • getContent

      byte[] getContent(String imageName)
      Gets the content of an image
      Parameters:
      imageName - the image name
      Returns:
      the content of the image as byte[]
    • getId

      String getId()
      The storage id
      Returns:
      the id of this storage