public interface ShellReader
Modifier and Type | Method and Description |
---|---|
java.lang.String |
readLine()
Read a line of output from the process.
|
java.lang.String |
readLine(long timeout)
Read a line of output from the process.
|
java.lang.String readLine() throws com.sshtools.common.ssh.SshException, ShellTimeoutException
java.io.IOException
com.sshtools.common.ssh.SshException
ShellTimeoutException
java.lang.String readLine(long timeout) throws com.sshtools.common.ssh.SshException, ShellTimeoutException
timeout
- java.io.IOException
com.sshtools.common.ssh.SshException
ShellTimeoutException
Copyright © 2022. All rights reserved.