Class YamlOutputStreamWriter

java.lang.Object
java.io.Writer
java.io.OutputStreamWriter
org.snakeyaml.engine.v2.api.YamlOutputStreamWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable, StreamDataWriter

public abstract class YamlOutputStreamWriter extends OutputStreamWriter implements StreamDataWriter
Provide an example of implementation of StreamDataWriter interface which does not throw IOException
  • Constructor Details

    • YamlOutputStreamWriter

      public YamlOutputStreamWriter(OutputStream out, Charset cs)
      Create
      Parameters:
      out - - the output
      cs - - encoding to use to translate String to bytes
  • Method Details