BufferedReader bufferedReader = new BufferedReader( new StringReader(charset.decode(inBuffer).toString())); String line = null; while(null != (line=bufferedReader.readLine())) { logger.info(line); }