Package com.github.mjeanroy.dbunit.yaml
Class YamlParserFactory
java.lang.Object
com.github.mjeanroy.dbunit.yaml.YamlParserFactory
The goal of this factory is to create default instances of
YamlParser
.-
Method Summary
-
Method Details
-
createDefault
Create default parser. Implementation will be selected using classpath detection:- If Jackson2 is available on classpath, then it is selected.
- If Gson is available on classpath, then it is selected.
- If Jackson1 is available on classpath, then it is selected.
- If none of these dependencies are available, an instance of
UnsupportedOperationException
is thrown.
- Returns:
- The created parser.
-