JavaSystem.SetOut(PrintStream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reassigns the "standard" output stream.
[Android.Runtime.Register("setOut", "(Ljava/io/PrintStream;)V", "")]
public static void SetOut (Java.IO.PrintStream? out);
[<Android.Runtime.Register("setOut", "(Ljava/io/PrintStream;)V", "")>]
static member SetOut : Java.IO.PrintStream -> unit
Parameters
- out
- PrintStream
the new standard output stream
- Attributes
Remarks
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.
Added in JDK1.1.
Java documentation for java.lang.System.setOut(java.io.PrintStream)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.