this.s = s; result = new StringBuffer();
result.append(c)
String retval = result.toString(); result = new StringBuffer(); return retval;
DataInputStream is = null; try { is = new DataInputStream(s.getInputStream()); } catch (Exception e) {} while (true) { try { char c = is.readChar(); appendResult(c); } catch (Exception e) {} }