how to read a set of lines with each line having CRLF(\r\n) as delimiter using java -


using java how can read paragraph each line having delimiter crlf(\r\n). example

4\r\n this\r\n 8\r\n response\r\n

i want extract 4 , store buffer , read 8 , store paragraph. please me.

use bufferedreader.readline() read lines, or scanner if want automically parse numbers.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -