Interface YamlPrinter


  • public interface YamlPrinter
    YAML Printer.
    Since:
    4.3.1
    Version:
    $Id: 560dee29ca1faa319d79dee1ae1ebb5cabc4eff2 $
    Author:
    Mihai Andronache (amihaiemil@gmail.com)
    • Method Detail

      • print

        void print​(YamlNode node)
            throws IOException
        Print a YAML Node. YamlNode is the base interface for all types of YAML.
        Parameters:
        node - YAML node to print.
        Throws:
        IOException - If any I/O problem is encountered. It will also throw an exception if you call this method more than once (because the underlying stream is closed at the end of the printing).