Class TableWriter

java.lang.Object
io.github.wasabithumb.jtoml.io.TableWriter
All Implemented Interfaces:
Closeable, AutoCloseable

public final class TableWriter extends Object implements Closeable
  • Constructor Details

    • TableWriter

      public TableWriter(@NotNull @NotNull CharTarget out, @NotNull @NotNull io.github.wasabithumb.jtoml.option.JTomlOptions options)
  • Method Details

    • writeTable

      public void writeTable(@NotNull @NotNull io.github.wasabithumb.jtoml.value.table.TomlTable table) throws io.github.wasabithumb.jtoml.except.TomlException
      Throws:
      io.github.wasabithumb.jtoml.except.TomlException
    • close

      public void close() throws io.github.wasabithumb.jtoml.except.TomlException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      io.github.wasabithumb.jtoml.except.TomlException