Interface InputAdapter
public interface InputAdapter
Input adapter responsible for transforming desired input format to
JsonNode.-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodeconvert(InputStream input) Converts input stream toJsonNode.Gets all file formats that are supported with this consumer.
-
Method Details
-
getFileFormats
Gets all file formats that are supported with this consumer.- Returns:
- set of file formats
-
convert
Converts input stream toJsonNode.- Parameters:
input- input to be converted- Returns:
- resulting
JsonNode - Throws:
IOException- when conversion fails
-