public class ColoredRemoteProcessHandler<T extends RemoteProcess> extends BaseRemoteProcessHandler<T> implements AnsiEscapeDecoder.ColoredTextAcceptor
myCharset, myCommandLine, myPresentableName, myProcess, myWaitFor
SILENTLY_DESTROY_ON_CLOSE, TERMINATION_REQUESTED
Constructor and Description |
---|
ColoredRemoteProcessHandler(T process,
java.lang.String commandLine,
java.nio.charset.Charset charset) |
Modifier and Type | Method and Description |
---|---|
void |
coloredTextAvailable(java.lang.String text,
Key attributes) |
void |
notifyTextAvailable(java.lang.String text,
Key outputType) |
destroyProcessImpl, executeTask, onOSProcessTerminated, readerOptions, startNotify
closeStreams, detachIsDefault, detachProcessImpl, doDestroyProcess, getCharset, getCommandLine, getProcess, getProcessInput
addProcessListener, addProcessListener, destroyProcess, detachProcess, getExitCode, isProcessTerminated, isProcessTerminating, isSilentlyDestroyOnClose, isStartNotified, notifyProcessDetached, notifyProcessTerminated, removeProcessListener, waitFor, waitFor
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
public ColoredRemoteProcessHandler(T process, java.lang.String commandLine, java.nio.charset.Charset charset)
public final void notifyTextAvailable(java.lang.String text, Key outputType)
notifyTextAvailable
in class ProcessHandler
public void coloredTextAvailable(java.lang.String text, Key attributes)
coloredTextAvailable
in interface AnsiEscapeDecoder.ColoredTextAcceptor