public class TerminalEncoder extends Encoder.AbstractEncoder implements Encoder
Modifier and Type | Class and Description |
---|---|
static class |
TerminalEncoder.TerminalString |
Encoder.AbstractEncoder, Encoder.Factory, Encoder.Type
NEW_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, write
public TerminalEncoder(OutputStream out, Theme theme, Map<String,Object> options)
public void beginGroup(TokenType type)
beginGroup
in interface Encoder
Copyright © 2016 JBoss by Red Hat. All rights reserved.