FileInputStream and FileOutputStream line by line
<p>FileInputStream reads all bytes of a file and FileOutputStream writes allbytes to a file</p>

<p>which class do i use if i want to read all bytes of a file but line by line </p>

<p>so that </p>

<p>if fileA contains two lines</p>

<p>line1 
line2</p>

<p>then bytes of line1 and line2 are read seperately</p>

<p>same goes for FileOutputStream</p>
