public class AnsiDecorationSource<T extends AnsiDecorationProvider> extends Object implements ControlCodeSource<T>
| Constructor and Description |
|---|
AnsiDecorationSource() |
| Modifier and Type | Method and Description |
|---|---|
String |
getControlCode(T attributeSource)
Translates the attribute source into a control code that can be passed to
an input/output stream
|
String |
getFullResetControlCode()
Gets a reset code that can be used to reset any changes previously made
by any attributes of the type supported by this source
|
String |
getResetControlCode(T attributeSource)
Gets a reset code that can be used to reset any changes previously made
by the given attribute
|
public String getControlCode(T attributeSource)
ControlCodeSourcegetControlCode in interface ControlCodeSource<T extends AnsiDecorationProvider>attributeSource - Attribute sourcepublic String getResetControlCode(T attributeSource)
ControlCodeSourcegetResetControlCode in interface ControlCodeSource<T extends AnsiDecorationProvider>attributeSource - Attribute sourcepublic String getFullResetControlCode()
ControlCodeSourcegetFullResetControlCode in interface ControlCodeSource<T extends AnsiDecorationProvider>Copyright © 2012–2022. All rights reserved.