Class TomlValueWriter
java.lang.Object
com.mrivanplays.annotationconfig.toml.TomlValueWriter
- All Implemented Interfaces:
com.mrivanplays.annotationconfig.core.resolver.ValueWriter
public final class TomlValueWriter
extends Object
implements com.mrivanplays.annotationconfig.core.resolver.ValueWriter
Represents the default toml value writer. Has a lot of stuff homebrew but the main dumping is
done via jackson's
TomlMapper
.- Since:
- 2.1.0
- Author:
- MrIvanPlays
-
Constructor Summary
ConstructorDescriptionTomlValueWriter
(com.fasterxml.jackson.dataformat.toml.TomlMapper defaultMapper) -
Method Summary
-
Constructor Details
-
TomlValueWriter
-
-
Method Details
-
write
public void write(Map<String, Object> values, Map<String, throws IOExceptionList<String>> fieldComments, PrintWriter writer, com.mrivanplays.annotationconfig.core.resolver.options.CustomOptions options) - Specified by:
write
in interfacecom.mrivanplays.annotationconfig.core.resolver.ValueWriter
- Throws:
IOException
-