public class ConsoleOutput extends Object
Modifier and Type | Field and Description |
---|---|
static int |
APPLICATION_COLOR
Defines for index in array for colors.
|
static int |
EXTERNAL_STDERR
Defines for index in array for colors.
|
static int |
EXTERNAL_STDOUT
Defines for index in array for colors.
|
static int |
LOG_CRITICAL
Defines for index in array for colors.
|
static int |
LOG_ERROR
Defines for index in array for colors.
|
static int |
LOG_INFORMATIONAL
Defines for index in array for colors.
|
static int |
LOG_WARNING
Defines for index in array for colors.
|
static int |
OTHER_COLOR
Defines for index in array for colors.
|
static int |
STDERR_COLOR
Defines for index in array for colors.
|
static int |
STDOUT_COLOR
Defines for index in array for colors.
|
Modifier and Type | Method and Description |
---|---|
static void |
startStreamReaders(InputStream stderr,
InputStream stdout)
Starts two reader threads for the streams used by external processes.
|
static void |
updateEclipseColors()
Called to update Eclipse log with new colors.
|
static void |
waitDrainSTDERR()
Waits for STDERR to be drained.
|
static void |
waitDrainSTDOUT()
Waits for STDOUT to be drained.
|
static void |
writeLine(int colorIndex,
String line)
Writes a line of data to the console output window with the RGB color).
|
public static final int STDERR_COLOR
public static final int STDOUT_COLOR
public static final int OTHER_COLOR
public static final int APPLICATION_COLOR
public static final int EXTERNAL_STDERR
public static final int EXTERNAL_STDOUT
public static final int LOG_INFORMATIONAL
public static final int LOG_WARNING
public static final int LOG_ERROR
public static final int LOG_CRITICAL
public static void waitDrainSTDOUT()
public static void waitDrainSTDERR()
public static void startStreamReaders(InputStream stderr, InputStream stdout)
public static void updateEclipseColors()
public static void writeLine(int colorIndex, String line)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.