All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bluenimble.platform.json.printers.YamlOutputStreamPrinter Maven / Gradle / Ivy

There is a newer version: 2.50.0
Show newest version
package com.bluenimble.platform.json.printers;

import java.io.IOException;
import java.io.OutputStream;

public class YamlOutputStreamPrinter extends YamlPrinter {

	protected OutputStream out;
	
	public YamlOutputStreamPrinter (OutputStream out, int initialIndent) {
		super (initialIndent);
		this.out = out;
	}
	
	public YamlOutputStreamPrinter (OutputStream out) {
		this (out, 0);
	}
	
	protected void print (String str, DataType type) throws IOException {
		out.write (str.getBytes ());
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy