question: static void sendRawLine ( PircBot bot , BufferedWriter bwriter , String line ) { if ( line . length ( ) > bot . getMaxLineLength ( ) - 2 ) { line = line . substring ( 0 , bot . getMaxLineLength ( ) - 2 ) ; } synchronized ( bwriter ) { try { bwriter . write ( line + "\r\n" ) ; bwriter . flush ( ) ; } catch ( Exception e ) { } } }
target:  A static method to write a line to a BufferedOutputStream and then pass the line to the log method of the supplied PircBot instance.