#acl All: == ファイル入力 == {{{#!java public class ReadSample { public static void main(String[] args) { try { java.io.FileReader f; java.io.BufferedReader b; String s; f = new java.io.FileReader( args[0] ); b = new java.io.BufferedReader( f ); while( (s = b.readLine()) != null) { System.out.println( s ); } b.close(); } catch(Exception e) { System.out.println( e ); } } } }}}