public interface IShellExecutor extends IHostExecutor, HostConnector
| Modifier and Type | Method and Description |
|---|---|
void |
dpi(int width,
int height)
设置页面 dpi
|
int |
getCols()
获取 行字数
|
int |
getHeight()
获取 高px
|
int |
getRows()
获取 列数
|
String |
getTerminalType()
获取设置的终端类型
|
int |
getWidth()
获取 宽px
|
void |
resize()
告知服务器重新设置终端大小
|
void |
size(int cols,
int rows)
设置页面大小
|
void |
size(int cols,
int rows,
int width,
int height)
设置页面大小
|
void |
terminalType(String terminalType)
设置终端类型
|
default void |
terminalType(TerminalType type)
设置终端类型
|
callback, env, env, exit, exit, getInputStream, getOutputStream, interrupt, isDone, run, sendSignal, setAgentForwarding, streamHandler, transfer, write, write, write, writeLine, writeLine, x11Forwardexeccloseconnect, connect, disconnect, disconnectChannel, disconnectSession, getChannel, getSession, isClosed, isConnected, isEofdefault void terminalType(TerminalType type)
type - typevoid terminalType(String terminalType)
terminalType - terminalTypevoid size(int cols,
int rows)
cols - 行字数rows - 列数void dpi(int width,
int height)
width - 宽pxheight - 高pxvoid size(int cols,
int rows,
int width,
int height)
cols - 行字数rows - 列数width - 宽pxheight - 高pxvoid resize()
String getTerminalType()
int getCols()
int getRows()
int getWidth()
int getHeight()
Copyright © 2025. All rights reserved.