Interface DocumentEncoder<T>
- Type Parameters:
T
- the document type
public interface DocumentEncoder<T>
Document encoder interface.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Method Summary
Modifier and TypeMethodDescriptionencodeDocument
(T document) Encodes the supplied document into a Base64-encoding.
-
Method Details
-
encodeDocument
Encodes the supplied document into a Base64-encoding.- Parameters:
document
- the document to encode- Returns:
- the Base64 encoded document
- Throws:
DocumentProcessingException
- for encoding errors
-