Class AbstractBlobHolder

    • Constructor Detail

      • AbstractBlobHolder

        public AbstractBlobHolder()
    • Method Detail

      • setBlob

        public void setBlob​(Blob blob)
        Description copied from interface: BlobHolder
        Sets a blob in the object.

        The underlying document must be saved by the caller.

        Specified by:
        setBlob in interface BlobHolder
      • getBlobs

        public List<Blob> getBlobs()
        Description copied from interface: BlobHolder
        Returns a list of blobs, if holder implementation supports multiple blobs.
        Specified by:
        getBlobs in interface BlobHolder
      • getBasePath

        protected abstract String getBasePath()
      • getFilePath

        public String getFilePath()
        Description copied from interface: BlobHolder
        Returns a filesystem-like path to represent the held blob.
        Specified by:
        getFilePath in interface BlobHolder
      • getMD5Digest

        protected String getMD5Digest()