setOut
public static void setOut(PrintStream out)
Reassigns the "standard" output stream.
First, if there is a security manager, its checkPermission method is called with a RuntimePermission("setIO") permission to see if it's ok to reassign the "standard" output stream.
Parameters:
out - the new standard output stream 作者: 泮和顺 时间: 2012-3-10 20:43
写的不错这个 但是还是不怎么懂 钻牛角了。。。