public class FileUtilsExample {
public static void main(String[] args) throws IOException {
File parent = new File("/Users/qiupengtao/Documents");
FileUtils.read(new File(parent, "dev_note"), new LineReaderHandler() {
@Override
public void readline(String text, int num) {
System.out.println(num + "\t" + text);
}
}, "utf-8");