public interface OutputConsumer
Output consumer responsible for transforming JsonNode to desired output format.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets all file formats that are supported with this consumer.
    void
    write(com.fasterxml.jackson.databind.JsonNode node, OutputStream output)
    Writes result of transformation of JsonNode to OutputStream.
  • Method Details

    • getFileFormats

      Set<String> getFileFormats()
      Gets all file formats that are supported with this consumer.
      Returns:
      set of file formats
    • write

      void write(com.fasterxml.jackson.databind.JsonNode node, OutputStream output) throws IOException
      Writes result of transformation of JsonNode to OutputStream.
      Parameters:
      node - node to be transformed
      output - output where transformed node should be written to
      Throws:
      IOException - when transforming node to output