Package | Description |
---|---|
com.sshtools.client | |
com.sshtools.common.ssh | |
com.sshtools.server | |
com.sshtools.server.auth | |
com.sshtools.server.platform |
This package contains the interfaces that are required to be
implemented to create an SSH server implementation.
|
com.sshtools.server.sftp |
Modifier and Type | Method and Description |
---|---|
Channel<SshClientContext> |
DefaultClientChannelFactory.createChannel(String channeltype,
Connection<SshClientContext> con)
Called when a channel needs to be created.
|
protected Channel<SshClientContext> |
ConnectionProtocolClient.createChannel(String channeltype,
Connection<SshClientContext> con)
Create an SSH channel.
|
Subsystem<SshClientContext> |
DefaultClientChannelFactory.createSubsystem(String name,
Channel<SshClientContext> session)
Request to create a subsystem.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Channel<T> |
ConnectionProtocol.createChannel(String channeltype,
Connection<T> con) |
Channel<T> |
ChannelFactory.createChannel(String channeltype,
Connection<T> con) |
Subsystem<T> |
ChannelFactory.createSubsystem(String name,
Channel<T> session) |
Modifier and Type | Method and Description |
---|---|
void |
AuthorizedKeysPublicKeyAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection<SshServerContext> con) |
protected AbstractFile |
AuthorizedKeysPublicKeyAuthenticationProvider.getFile(Connection<SshServerContext> connection) |
Iterator<SshPublicKeyFile> |
AuthorizedKeysPublicKeyAuthenticationProvider.getKeys(Connection<SshServerContext> con) |
void |
AuthorizedKeysPublicKeyAuthenticationProvider.remove(SshPublicKey key,
Connection<SshServerContext> con) |
Modifier and Type | Method and Description |
---|---|
FileSystem |
FileSystemFactory.createInstance(Connection<SshServerContext> con,
String protocolInUse) |
void |
NativeFileSystemProvider.createSymbolicLink(String link,
String target)
Deprecated.
Create a symbolic link.
|
void |
FileSystem.createSymbolicLink(String link,
String target)
Create a symbolic link.
|
boolean |
FileSystem.fileExists(String path)
Determine whether a file exists and return the result
|
String |
FileSystem.getDefaultPath()
Get the default path for the current session.
|
SftpFileAttributes |
NativeFileSystemProvider.getFileAttributes(byte[] handle)
Deprecated.
Get the attributes for a given file handle.
|
SftpFileAttributes |
FileSystem.getFileAttributes(byte[] handle)
Get the attributes for a given file handle.
|
SftpFileAttributes |
NativeFileSystemProvider.getFileAttributes(String path)
Deprecated.
Get the attributes for a given file.
|
SftpFileAttributes |
FileSystem.getFileAttributes(String path)
Get the attributes for a given file.
|
String |
FileSystem.getRealPath(String path)
Get the real path for a given path.
|
boolean |
NativeFileSystemProvider.makeDirectory(String path)
Deprecated.
Create a directory.
|
boolean |
FileSystem.makeDirectory(String path,
SftpFileAttributes attrs)
Create a directory.
|
byte[] |
NativeFileSystemProvider.openDirectory(String path)
Deprecated.
Open a directory for reading and allocate an open file handle.
|
byte[] |
FileSystem.openDirectory(String path)
Open a directory for reading and allocate an open file handle.
|
byte[] |
NativeFileSystemProvider.openFile(String path,
UnsignedInteger32 flags,
SftpFileAttributes attrs)
Deprecated.
Open a file for reading/writing and allocate an open file handle.
|
byte[] |
FileSystem.openFile(String path,
UnsignedInteger32 flags,
SftpFileAttributes attrs)
Open a file for reading/writing and allocate an open file handle.
|
SftpFile[] |
FileSystem.readDirectory(byte[] handle)
Read the contents of a directory.
|
SftpFile |
NativeFileSystemProvider.readSymbolicLink(String path)
Deprecated.
Read the target location of a symbolic link.
|
SftpFile |
FileSystem.readSymbolicLink(String path)
Read the target location of a symbolic link.
|
void |
NativeFileSystemProvider.removeDirectory(String path)
Deprecated.
Remove an empty directory from the file system.
|
void |
FileSystem.removeDirectory(String path)
Remove an empty directory from the file system.
|
void |
NativeFileSystemProvider.removeFile(String path)
Deprecated.
Remove a file.
|
void |
FileSystem.removeFile(String path)
Remove a file.
|
void |
NativeFileSystemProvider.renameFile(String oldpath,
String newpath)
Deprecated.
Rename a file.
|
void |
FileSystem.renameFile(String oldpath,
String newpath)
Rename a file.
|
void |
NativeFileSystemProvider.setFileAttributes(byte[] handle,
SftpFileAttributes attrs)
Deprecated.
Set the open files attributes
|
void |
FileSystem.setFileAttributes(byte[] handle,
SftpFileAttributes attrs)
Set the open files attributes
|
void |
NativeFileSystemProvider.setFileAttributes(String path,
SftpFileAttributes attrs)
Deprecated.
Set the files attributes.
|
void |
FileSystem.setFileAttributes(String path,
SftpFileAttributes attrs)
Set the files attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractFileImpl.copyFrom(AbstractFile src) |
void |
AbstractFileAdapter.copyFrom(AbstractFile src) |
void |
AbstractFile.copyFrom(AbstractFile src) |
boolean |
AbstractFileAdapter.createFolder() |
boolean |
AbstractFile.createFolder() |
boolean |
AbstractDirectFile.createFolder() |
boolean |
AbstractFileAdapter.createNewFile() |
boolean |
AbstractFile.createNewFile() |
boolean |
AbstractDirectFile.createNewFile() |
void |
AbstractFileSystem.createSymbolicLink(String link,
String target) |
boolean |
AbstractFileAdapter.delete(boolean recursive) |
boolean |
AbstractFile.delete(boolean recursive) |
boolean |
AbstractFileSystem.fileExists(String path) |
String |
AbstractFileAdapter.getAbsolutePath() |
String |
AbstractFile.getAbsolutePath() |
SftpFileAttributes |
AbstractFileAdapter.getAttributes() |
SftpFileAttributes |
AbstractFile.getAttributes() |
String |
AbstractFileAdapter.getCanonicalPath() |
String |
AbstractFile.getCanonicalPath() |
List<AbstractFile> |
AbstractFileAdapter.getChildren() |
List<AbstractFile> |
AbstractFile.getChildren() |
String |
AbstractFileSystem.getDefaultPath() |
T |
AbstractFileFactory.getDefaultPath(Connection<SshServerContext> con) |
T |
AbstractDirectFileFactory.getDefaultPath(Connection<SshServerContext> con) |
DirectFile |
DirectFileFactory.getFile(String path,
Connection<SshServerContext> con) |
T |
AbstractFileFactory.getFile(String path,
Connection<SshServerContext> con) |
SftpFileAttributes |
AbstractFileSystem.getFileAttributes(byte[] handle) |
SftpFileAttributes |
AbstractFileSystem.getFileAttributes(String path) |
String |
AbstractFileSystem.getRealPath(String path) |
boolean |
AbstractFileSystem.makeDirectory(String path,
SftpFileAttributes attrs) |
void |
AbstractFileImpl.moveTo(AbstractFile target) |
void |
AbstractFileAdapter.moveTo(AbstractFile target) |
void |
AbstractFile.moveTo(AbstractFile target) |
void |
AbstractDirectFile.moveTo(AbstractFile f2) |
byte[] |
AbstractFileSystem.openDirectory(String path) |
byte[] |
AbstractFileSystem.openFile(String path,
UnsignedInteger32 flags,
SftpFileAttributes attrs) |
SftpFile[] |
AbstractFileSystem.readDirectory(byte[] handle) |
SftpFile |
AbstractFileSystem.readSymbolicLink(String path) |
void |
AbstractFileSystem.removeDirectory(String path) |
void |
AbstractFileSystem.removeFile(String path) |
void |
AbstractFileSystem.renameFile(String oldpath,
String newpath) |
AbstractFile |
DirectFileJava7.resolveFile(String child) |
AbstractFile |
DirectFile.resolveFile(String child) |
AbstractFile |
AbstractFileAdapter.resolveFile(String child) |
AbstractFile |
AbstractFile.resolveFile(String child) |
protected AbstractFile |
AbstractFileSystem.resolveFile(String path,
Connection<SshServerContext> con) |
void |
AbstractFileSystem.setFileAttributes(byte[] handle,
SftpFileAttributes attrs) |
void |
AbstractFileSystem.setFileAttributes(String path,
SftpFileAttributes attrs) |
void |
AbstractFileAdapter.truncate() |
void |
AbstractFile.truncate() |
void |
AbstractDirectFile.truncate() |
Constructor and Description |
---|
OpenDirectory(AbstractFile f) |
Copyright © 2016. All rights reserved.