Interface DocumentDecoder<T>

Type Parameters:
T - document type

public interface DocumentDecoder<T>
Document decoder interface.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Method Summary

    Modifier and Type
    Method
    Description
    Given the document content (in Base64 encoded form), the document object is returned.
  • Method Details

    • decodeDocument

      T decodeDocument(String content) throws DocumentProcessingException
      Given the document content (in Base64 encoded form), the document object is returned.
      Parameters:
      content - the document in Base64 encoded format
      Returns:
      the document object
      Throws:
      DocumentProcessingException - for decoding errors