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


public class StringInputProtocol {
}

@@ -45,42 +45,405 @@
 g;%0A%0A
-%0Apublic class StringInputProtocol %7B
+import java.io.BufferedReader;%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0Aimport java.io.InputStreamReader;%0A%0Apublic class StringInputProtocol %7B%0A    private BufferedReader in;%0A%0A    public StringInputProtocol(InputStream in) %7B%0A%09this.in = new BufferedReader(new InputStreamReader(in));%0A    %7D%0A%0A    public Object read() throws IOException %7B%0A%09Object data = in.readLine();%0A%09return data;%0A    %7D
 %0A%7D%0A

implement stringinputprotocol to wrap inputstream from connection and read line based strings