public class Pty extends Object
Modifier and Type | Field and Description |
---|---|
static TypeArg<Pty> |
__TYPE_ARG |
Constructor and Description |
---|
Pty(Object delegate) |
Pty(io.vertx.ext.shell.term.Pty delegate) |
Modifier and Type | Method and Description |
---|---|
static Pty |
create()
Create a new pseudo terminal with no terminal type.
|
static Pty |
create(String terminalType)
Create a new pseudo terminal.
|
boolean |
equals(Object o) |
io.vertx.ext.shell.term.Pty |
getDelegate() |
int |
hashCode() |
static Pty |
newInstance(io.vertx.ext.shell.term.Pty arg) |
Pty |
setSize(int width,
int height)
Resize the terminal.
|
Tty |
slave() |
Pty |
stdoutHandler(io.vertx.core.Handler<String> handler)
Set the standard out handler of the pseudo terminal.
|
String |
toString() |
Pty |
write(String data)
Write data to the slave standard input of the pseudo terminal.
|
public Pty(io.vertx.ext.shell.term.Pty delegate)
public Pty(Object delegate)
public io.vertx.ext.shell.term.Pty getDelegate()
public static Pty create()
public static Pty create(String terminalType)
terminalType
- the terminal type, for instancepublic Pty stdoutHandler(io.vertx.core.Handler<String> handler)
handler
- the standard outputpublic Pty write(String data)
data
- the data to writepublic Pty setSize(int width, int height)
width
- height
- public Tty slave()
public static Pty newInstance(io.vertx.ext.shell.term.Pty arg)
Copyright © 2021 Eclipse. All rights reserved.