ホームページのソースから<td class=.emph.>○○</td>に囲まれた文字列を抜き出し表示します
これの表示結果をaaa.txtに出力したいのですがうまくいきません。どなたか教えてください

public class pw4 {
public static void main(String[] args)
throws IOException
{
URL u = new URL("http://money.www.infoseek.co.jp/MnStock/4755.j/slast/";);
InputStream is = u.openStream();
InputStreamReader isr = new InputStreamReader(is, "euc-jp");
BufferedReader reader = new BufferedReader(isr);
String line;

Pattern p=Pattern.compile("<td class=.emph.>(.*)</td>");
while ((line = line=reader.readLine()) != null){
Matcher m=p.matcher(line);
if(m.find()){
String rep = m.group(1);

System.out.println(rep);

}
}
}
}