public class CommandExecutor extends Object
Shell class.| Constructor and Description |
|---|
CommandExecutor(SshSession session,
String eol,
String promptCmd,
String prompt,
String encoding)
Deprecated.
|
public CommandExecutor(SshSession session, String eol, String promptCmd, String prompt, String encoding) throws SshException, IOException
SshExceptionIOExceptionpublic String executeCommand(String cmd) throws SshException, IOException
SshExceptionIOExceptionCopyright © 2014. All rights reserved.