如何控制读取下一行? for (int j = 1; (temp = br.readLine()) != null && !temp.equals(oldStr); j++) { buf = buf.append(temp); buf = buf.append(System.getProperty("line.separator")); }
收起
额额额额,用while吧循环吧
报告相同问题?