package com.github.noxan.aves.protocol.string;


public class StringOutputProtocol {
}

@@ -45,43 +45,424 @@
 g;%0A%0A
-%0Apublic class StringOutputProtocol %7B
+import java.io.BufferedWriter;%0Aimport java.io.IOException;%0Aimport java.io.OutputStream;%0Aimport java.io.OutputStreamWriter;%0A%0Apublic class StringOutputProtocol %7B%0A    private BufferedWriter out;%0A%0A    public StringOutputProtocol(OutputStream out) %7B%0A%09this.out = new BufferedWriter(new OutputStreamWriter(out));%0A    %7D%0A%0A    public void write(Object data) throws IOException %7B%0A%09out.write(data.toString());%0A%09out.flush();%0A    %7D
 %0A%7D%0A

implement stringoutputprotocol to wrap outputstream from connection and write line based strings