public void sendData() throws IOException {
        if (_writer != null) {
            _writer.write(_buffer.toString());
            _writer.flush();
            _buffer = new StringBuffer();
        }
    }
public void sendData ( ) throws IOException { if ( _writer != null ) { _writer . write ( _buffer . toString ( ) ) ; _writer . flush ( ) ; _buffer = new StringBuffer ( ) ; } }
Send data and reinitializes buffer.