另类输入缓冲流-java.util.Scanner类
jdk1.5新增了java.util.Scanner类类似于C++里面的cin:
Constructor SummaryScanner(File source) Constructs a new Scanner that produces values scanned from the specified file.Scanner(File source, String charsetName) &nbs ...