It is my Computer Notes.
Using Guide : object-key or object-key-key
e.g. Step 1 Blog Search : [mysql-run] and then Step 2 ctrl+F [mysql-run]
{bookMark me : Ctrl+D}
2013年9月27日 星期五
java-readfile from harddisk
<read file from harddisk to array> import java.util.Scanner; . . Scanner scanner = null;
scanner = new Scanner (new BufferedReader(new FileReader("file"))); while (scanner.hasNext()){ System.out.println(scanner.next()); }
沒有留言:
張貼留言