@Override
 public void writeBytes(String str) throws IOException {
   dos.writeBytes(str);
 }