public abstract class AnsiOutput extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AnsiOutput.Enabled |
Constructor and Description |
---|
AnsiOutput() |
Modifier and Type | Method and Description |
---|---|
static void |
setEnabled(AnsiOutput.Enabled enabled)
Sets if ANSI output is enabled.
|
static String |
toString(Object... elements)
Create a new ANSI string from the specified elements.
|
public static void setEnabled(AnsiOutput.Enabled enabled)
enabled
- if ANSI is enabled, disabled or detectedpublic static String toString(Object... elements)
AnsiElement
s will
be encoded as required.elements
- the elements to encodeCopyright © 2014 Pivotal Software, Inc.. All rights reserved.