Copyright (C) 2009, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
| Modifiers | Name | Description |
|---|---|---|
static java.io.PrintStream |
err |
|
static java.io.PrintStream |
out |
|
static java.io.PrintStream |
system_err |
|
static java.io.PrintStream |
system_out |
| Type | Name and description |
|---|---|
static java.io.PrintStream |
err()If the standard out natively supports ANSI escape codes, then this just returns System.err, otherwise it will provide an ANSI aware PrintStream which strips out the ANSI escape sequences or which implement the escape sequences. |
static java.io.PrintStream |
out()If the standard out natively supports ANSI escape codes, then this just returns System.out, otherwise it will provide an ANSI aware PrintStream which strips out the ANSI escape sequences or which implement the escape sequences. |
static void |
systemInstall()Install Console.out to System.out. |
static void |
systemUninstall()undo a previous systemInstall(). |
static java.io.OutputStream |
wrapOutputStream(java.io.OutputStream stream) |
static java.io.OutputStream |
wrapOutputStream(java.io.OutputStream stream, int fileno) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
If the standard out natively supports ANSI escape codes, then this just returns System.err, otherwise it will provide an ANSI aware PrintStream which strips out the ANSI escape sequences or which implement the escape sequences.
If the standard out natively supports ANSI escape codes, then this just returns System.out, otherwise it will provide an ANSI aware PrintStream which strips out the ANSI escape sequences or which implement the escape sequences.
Install Console.out to System.out.
undo a previous systemInstall(). If systemInstall() was called multiple times, it systemUninstall() must call the same number of times before it is actually uninstalled.