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

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

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

import java.io.ByteArrayOutputStream;

public class YamlStringPrinter extends YamlOutputStreamPrinter {

	public YamlStringPrinter (int initialIndent) {
		super (new ByteArrayOutputStream (), initialIndent);
	}
	
	public YamlStringPrinter () {
		super (new ByteArrayOutputStream ());
	}
	
	public String toString () {
		return new String (((ByteArrayOutputStream)out).toByteArray ());
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy