Package com.github.mjeanroy.dbunit.yaml
Class JacksonYamlParser
- java.lang.Object
-
- com.github.mjeanroy.dbunit.core.parsers.AbstractDatasetParser
-
- com.github.mjeanroy.dbunit.yaml.AbstractYamlParser
-
- com.github.mjeanroy.dbunit.yaml.JacksonYamlParser
-
- All Implemented Interfaces:
DatasetParser
,JsonParser
,YamlParser
public class JacksonYamlParser extends AbstractYamlParser implements YamlParser
YAML Parser using Jackson (V2)ObjectMapper
as internal implementation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,List<Map<String,Object>>>
doParse(Reader reader)
Parse givenReader
: Read input. Create dataset model from it.-
Methods inherited from class com.github.mjeanroy.dbunit.yaml.AbstractYamlParser
wrapException
-
Methods inherited from class com.github.mjeanroy.dbunit.core.parsers.AbstractDatasetParser
parse
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.mjeanroy.dbunit.core.parsers.DatasetParser
parse
-
-
-
-
Method Detail
-
doParse
protected Map<String,List<Map<String,Object>>> doParse(Reader reader) throws Exception
Description copied from class:AbstractDatasetParser
Parse givenReader
:- Read input.
- Create dataset model from it.
- Specified by:
doParse
in classAbstractDatasetParser
- Parameters:
reader
- The reader.- Returns:
- The dataset input.
- Throws:
Exception
- If an error occurred during JSON parsing.
-
-