Module bus.setting

Interface Format

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
DefaultFormatter

public interface Format extends Closeable
ini formatter.
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    by default, close() = init()
    format a line as a element
    void
    initialize
  • Method Details

    • formatLine

      IniElement formatLine(String line)
      format a line as a element
      Parameters:
      line - line string
      Returns:
      IniElement
    • init

      void init()
      initialize
    • close

      default void close()
      by default, close() = init()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable