public interface ShellWriter
| Modifier and Type | Method and Description |
|---|---|
void |
carriageReturn()
Send a carriage return to the remote command.
|
void |
interrupt()
Interrupt the process by sending a Ctrl+C to the process.
|
void |
type(java.lang.String string)
Send data to the remote command just like the user had typed it.
|
void |
typeAndReturn(java.lang.String string)
Send data to the remote command and finish with a carriage return.
|
void interrupt()
throws java.io.IOException
java.io.IOExceptionvoid type(java.lang.String string) throws java.io.IOException
string - the typed key datajava.io.IOExceptionvoid carriageReturn()
throws java.io.IOException
java.io.IOExceptionvoid typeAndReturn(java.lang.String string)
throws java.io.IOException
string - Stringjava.io.IOExceptionCopyright © 2022. All rights reserved.