Interface BlobRepository.Decoder<T>

  • Enclosing class:

    public static interface BlobRepository.Decoder<T>
    • Method Detail

      • getName

        default String getName()
        A name by which to distinguish this decoding. This only needs to be implemented if you want to support decoding the same blob content with more than one decoder.
        The name of the decoding, defaults to empty string.
      • decode

        T decode​(InputStream inputStream)
        A routine that knows how to convert the stream of bytes from the blob into a Java object.
        inputStream - the bytes from a blob
        A Java object of the specified type.