question: public synchronized boolean append ( final byte [ ] data ) { if ( data == null ) { if ( Cfg . DEBUG ) { Check . log ( TAG + " (append) null data" ) ; } return true ; } FileOutputStream fout = null ; OutputStream out = null ; try { fout = new FileOutputStream ( file , true ) ; out = new BufferedOutputStream ( fout , data . length ) ; out . write ( data ) ; out . flush ( ) ; } catch ( final Exception ex ) { return false ; } finally { if ( fout != null ) { try { fout . close ( ) ; } catch ( final IOException e ) { if ( Cfg . EXCEPTION ) { Check . log ( e ) ; } if ( Cfg . DEBUG ) { Check . log ( TAG + " Error: " + e . toString ( ) ) ; } } } if ( out != null ) { try { out . close ( ) ; } catch ( final IOException e ) { if ( Cfg . EXCEPTION ) { Check . log ( e ) ; } if ( Cfg . DEBUG ) { Check . log ( TAG + " Error: " + e . toString ( ) ) ; } } } } return true ; }
target:  Append some data to the file.