Package | Description |
---|---|
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 |
---|---|
void |
NativeFileSystemProvider.closeFile(byte[] handle)
Deprecated.
Close an open file or directory.
|
void |
FileSystem.closeFile(byte[] handle)
Close an open file or directory.
|
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.
|
String |
FileSystem.getPathForHandle(byte[] handle)
Return the path for a given handle.
|
SftpFile[] |
NativeFileSystemProvider.readDirectory(byte[] handle)
Deprecated.
Read the contents of a directory.
|
SftpFile[] |
FileSystem.readDirectory(byte[] handle)
Read the contents of a directory.
|
int |
NativeFileSystemProvider.readFile(byte[] handle,
UnsignedInteger64 offset,
byte[] buffer,
int start,
int numBytesToRead)
Deprecated.
Read a block of data from an open file.
|
int |
FileSystem.readFile(byte[] handle,
UnsignedInteger64 offset,
byte[] buffer,
int start,
int numBytesToRead)
Read a block of data from an open 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.writeFile(byte[] handle,
UnsignedInteger64 offset,
byte[] data,
int off,
int len)
Deprecated.
Write a block of data to an open file.
|
void |
FileSystem.writeFile(byte[] handle,
UnsignedInteger64 offset,
byte[] data,
int off,
int len)
Write a block of data to an open file.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractFileSystem.closeFile(byte[] handle) |
boolean |
AbstractFileSystem.closeFile(byte[] handle,
boolean remove) |
SftpFileAttributes |
AbstractFileSystem.getFileAttributes(byte[] handle) |
AbstractFile |
AbstractFileSystem.getFileForHandle(byte[] handle) |
String |
AbstractFileSystem.getPathForHandle(byte[] handle) |
SftpFile[] |
AbstractFileSystem.readDirectory(byte[] handle) |
int |
AbstractFileSystem.readFile(byte[] handle,
UnsignedInteger64 offset,
byte[] buf,
int start,
int numBytesToRead) |
void |
AbstractFileSystem.setFileAttributes(byte[] handle,
SftpFileAttributes attrs) |
void |
AbstractFileSystem.writeFile(byte[] handle,
UnsignedInteger64 offset,
byte[] data,
int off,
int len) |
Copyright © 2017. All rights reserved.