Interface ValueWriter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a value writer.
A value writer is a writer of values for a specified configuration type.
- Since:
- 2.0.0 but heavily modified in 2.1.0
- Author:
- MrIvanPlays
-
Method Summary
-
Method Details
-
write
void write(Map<String, Object> values, Map<String, throws IOExceptionList<String>> fieldComments, PrintWriter writer, Settings settings) AnnotationConfig calls this method in order to write the specifiedvalues
with the specifiedfieldComments
to the specifiedPrintWriter
writer
. The written values or the method of writing could be altered via the providedSettings
settings
- Parameters:
values
- the values needed to be writtenfieldComments
- the comments of the fieldswriter
- the writer to writesettings
- settings- Throws:
IOException
- if an i/o occurs
-