public static void main(String[] args)
{
File f = new File("e://sonyz5.htm");
FileReader fr = null;
BufferedReader br = null;
try
{
fr = new FileReader(f);
br = new BufferedReader(fr);
String s = "";
while (s!= null)
{
s = br.readLine();
if (s!=null)
System.out.println(s);
}
}
catch (Exception e)
{
System.out.println(e.getMessage());
}
finally
{
try
{
br.close();
fr.close();
}
catch (Exception e)
{
System.out.println(e.getMessage());
}
}
}