Interface InputAdapter
-
public interface InputAdapterInput adapter responsible for transforming desired input format toJsonNode.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNodeconvert(java.io.InputStream input)Converts input stream toJsonNode.java.util.Set<java.lang.String>getFileFormats()Gets all file formats that are supported with this consumer.
-
-
-
Method Detail
-
getFileFormats
java.util.Set<java.lang.String> getFileFormats()
Gets all file formats that are supported with this consumer.- Returns:
- set of file formats
-
convert
com.fasterxml.jackson.databind.JsonNode convert(java.io.InputStream input) throws java.io.IOExceptionConverts input stream toJsonNode.- Parameters:
input- input to be converted- Returns:
- resulting
JsonNode - Throws:
java.io.IOException- when conversion fails
-
-