import java.io.*;
/**
*
* @author Eranga
*/
public class ReadFile {
FileInputStream fiStream;
DataInputStream diStream;
BufferedReader br;
public static void main(String[] args) {
// TODO code application logic here
new ReadFile().readFile();
}
public void readFile() {
try {
fiStream = new FileInputStream("D:\\jazz\\CSV\\abcd.txt");
diStream = new DataInputStream(fiStream);
br = new BufferedReader(new InputStreamReader(diStream));
String ss;
while((ss = br.readLine()) != null){
System.out.println(ss);
}
}
catch (IOException ex) {
System.out.println(ex.getLocalizedMessage());
}
}
}