this method blocks until the streampumper finishes . concode_field_sep boolean autoflush concode_elem_sep int bufferSize concode_elem_sep OutputStream os concode_elem_sep boolean closeWhenExhausted concode_elem_sep int SMALL_BUFFER_SIZE concode_elem_sep Exception exception concode_elem_sep boolean started concode_elem_sep boolean useAvailable concode_elem_sep InputStream is concode_elem_sep boolean finish concode_elem_sep boolean finished concode_elem_sep long POLL_INTERVAL concode_field_sep void setBufferSize concode_elem_sep void waitForInput concode_elem_sep Exception getException concode_elem_sep void stop concode_elem_sep void setAutoflush concode_elem_sep int getBufferSize concode_elem_sep void run concode_elem_sep boolean isFinished
void function ( ) { while ( ! isFinished ( ) ) { wait ( ) ; } }