public class DocumentResourceConverterImpl extends Object implements DocumentResourceConverter
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
Constructor and Description |
---|
DocumentResourceConverterImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
String |
convertDocumentDefinitionModelToJson(DocumentDefinitionModel documentDefinitionModel) |
DocumentDefinitionModel |
convertDocumentResourceToModel(byte[] documentResourceBytes) |
DocumentDefinitionModel |
convertDocumentResourceToModel(InputStream documentResourceStream) |
public DocumentResourceConverterImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public DocumentDefinitionModel convertDocumentResourceToModel(byte[] documentResourceBytes)
convertDocumentResourceToModel
in interface DocumentResourceConverter
public DocumentDefinitionModel convertDocumentResourceToModel(InputStream documentResourceStream)
convertDocumentResourceToModel
in interface DocumentResourceConverter
public String convertDocumentDefinitionModelToJson(DocumentDefinitionModel documentDefinitionModel)
convertDocumentDefinitionModelToJson
in interface DocumentResourceConverter