Class YAMLPropertyReader

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Readable

    public class YAMLPropertyReader
    extends FilterReader
    Simple yaml parser to convert to key-value pairs Important notes:
    • Multi-document yaml not supported (please avoid the triple-hyphens syntax)
    Author:
    afarre
    • Constructor Detail

      • YAMLPropertyReader

        public YAMLPropertyReader​(Reader _reader)
        Default constructor with appendListLength set true
        Parameters:
        _reader - parent reader
      • YAMLPropertyReader

        public YAMLPropertyReader​(Reader _reader,
                                  boolean _appendListLength)
        Constructor capable to define appendListLength value
        Parameters:
        _reader - parent reader
        _appendListLength - append list length as an additional property