Package com.github.mjeanroy.dbunit.json
Class AbstractJsonParser
- java.lang.Object
-
- com.github.mjeanroy.dbunit.core.parsers.AbstractDatasetParser
-
- com.github.mjeanroy.dbunit.json.AbstractJsonParser
-
- All Implemented Interfaces:
DatasetParser
,JsonParser
public abstract class AbstractJsonParser extends AbstractDatasetParser implements JsonParser
Abstract implementation ofJsonParser
that createReader
from givenResource
and executeAbstractDatasetParser.doParse(Reader)
.Note that exceptions thrown from
AbstractDatasetParser.doParse(Reader)
method will automatically be wrapped intoJsonException
.
-
-
Constructor Summary
Constructors Constructor Description AbstractJsonParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractParserException
wrapException(Exception ex)
-
Methods inherited from class com.github.mjeanroy.dbunit.core.parsers.AbstractDatasetParser
doParse, 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
-
wrapException
protected AbstractParserException wrapException(Exception ex)
- Specified by:
wrapException
in classAbstractDatasetParser
-
-