public class JsonConverterPlugin extends Object implements ResourceConverterPlugin
| Constructor and Description |
|---|
JsonConverterPlugin() |
| Modifier and Type | Method and Description |
|---|---|
Object |
extract(InputStream input)
Extract data from the input stream into a DTO representation.
|
String[] |
getHandledExtensions()
Get the set of file extension names corresponding to the format that this
plugin can handle.
|
public String[] getHandledExtensions()
ResourceConverterPlugingetHandledExtensions in interface ResourceConverterPluginnullpublic Object extract(InputStream input) throws Exception
ResourceConverterPluginextract in interface ResourceConverterPlugininput - the stream to extract, must not be nullnull
if the stream is emptyException - if any errors occur during the extraction processCopyright © 2021. All rights reserved.