protected static class CapturingAnsiEscapesAwareProcessHandler.AnsiEscapesAwareAdapter extends CapturingProcessAdapter implements AnsiEscapeDecoder.ColoredTextAcceptor
Constructor and Description |
---|
AnsiEscapesAwareAdapter(ProcessOutput output) |
Modifier and Type | Method and Description |
---|---|
void |
coloredTextAvailable(java.lang.String text,
Key attributes) |
void |
onTextAvailable(ProcessEvent event,
Key outputType) |
addToOutput, getOutput, processTerminated
startNotified
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processWillTerminate
public AnsiEscapesAwareAdapter(ProcessOutput output)
public void onTextAvailable(ProcessEvent event, Key outputType)
onTextAvailable
in interface ProcessListener
onTextAvailable
in class CapturingProcessAdapter
public void coloredTextAvailable(java.lang.String text, Key attributes)
coloredTextAvailable
in interface AnsiEscapeDecoder.ColoredTextAcceptor