question: public boolean finish ( ) { if ( ! started ) return false ; boolean ok = true ; started = false ; try { out . write ( 0x3b ) ; out . flush ( ) ; if ( closeStream ) { out . close ( ) ; } } catch ( IOException e ) { ok = false ; } return ok ; }
target:  Flushes any pending data and closes output file. If writing to an OutputStream, the stream is not closed.