public class MockSftpServer extends MockSshServer
PASSWORD, sshServer, USERNAME| Constructor and Description |
|---|
MockSftpServer(int port) |
| Modifier and Type | Method and Description |
|---|---|
static MockSftpServer |
createWithShell(int port) |
Path |
getBaseDirectory() |
void |
start() |
void |
stop() |
create, createCommand, enableShell, initSshServer, respondTo, respondTopublic MockSftpServer(int port)
throws IOException
IOExceptionpublic Path getBaseDirectory()
public void start()
throws IOException
start in class MockSshServerIOExceptionpublic void stop()
throws IOException
stop in class MockSshServerIOExceptionpublic static MockSftpServer createWithShell(int port) throws IOException
IOExceptionCopyright © 2016. All rights reserved.