Java / FileInputStream/FileOutputStream - More
Posted 2007/11/21 10:38, Filed under: 프로그래밍/Java
import java.io.*;
public class More
{
public static void main(String args[])
{
if (args.length != 1)
{
System.out.println("usage: java More <filename>");
System.exit(1);
}
try
{
Copier cp = new Copier(new FileInputStream(args[0]),System.out);
cp.copy();
}
catch (Exception e)
{
System.out.println(e);
}
}
}
Response :
0 Trackback
,
0 Comment
Trackback URL : http://mysilpir.net/trackback/283



