public interface InputAdapter
Input adapter responsible for transforming desired input format to JsonNode.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
    Converts input stream to JsonNode.
    Gets all file formats that are supported with this consumer.
  • Method Details

    • getFileFormats

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

      com.fasterxml.jackson.databind.JsonNode convert(InputStream input) throws IOException
      Converts input stream to JsonNode.
      Parameters:
      input - input to be converted
      Returns:
      resulting JsonNode
      Throws:
      IOException - when conversion fails