public class TerminalEncoder extends Encoder.AbstractEncoder implements Encoder
| Modifier and Type | Class and Description |
|---|---|
static class |
TerminalEncoder.TerminalString |
Encoder.AbstractEncoder, Encoder.Factory, Encoder.TypeNEW_LINE, options, out, theme| Constructor and Description |
|---|
TerminalEncoder(OutputStream out,
Theme theme,
Map<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginGroup(TokenType type) |
void |
beginLine(TokenType type) |
void |
endGroup(TokenType type) |
void |
endLine(TokenType type) |
void |
textToken(String text,
TokenType type) |
color, write, writepublic TerminalEncoder(OutputStream out, Theme theme, Map<String,Object> options)
public void beginGroup(TokenType type)
beginGroup in interface EncoderCopyright © 2016 JBoss by Red Hat. All rights reserved.