Package org.apache.juneau.marshall.toml
Class TomlWriter
java.lang.Object
java.io.Writer
org.apache.juneau.marshall.serializer.SerializerWriter<TomlWriter>
org.apache.juneau.marshall.toml.TomlWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
Specialized writer for serializing TOML v1.0.0.
Extends SerializerWriter with TOML-specific methods for tables, key-value pairs,
and typed values.
Notes:
- This class is not intended for external use.
See Also:
-
Field Summary
Fields inherited from class org.apache.juneau.marshall.serializer.SerializerWriter
maxIndent, out, quoteChar, trimStrings, uriResolver, useWhitespace -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTomlWriter(Writer out, boolean useWhitespace, int maxIndent, boolean trimStrings, UriResolver uriResolver) Constructor. -
Method Summary
-
Constructor Details
-
TomlWriter
protected TomlWriter(Writer out, boolean useWhitespace, int maxIndent, boolean trimStrings, UriResolver uriResolver) Constructor.- Parameters:
out- The writer being wrapped.useWhitespace- Iftrue , use whitespace for formatting.maxIndent- The maximum indentation level.trimStrings- Iftrue , trim strings before serialization.uriResolver- The URI resolver.
-