Uses of Class
org.apache.sshd.sftp.client.SftpClient.OpenMode
-
Packages that use SftpClient.OpenMode Package Description org.apache.sshd.sftp.client org.apache.sshd.sftp.client.impl -
-
Uses of SftpClient.OpenMode in org.apache.sshd.sftp.client
Fields in org.apache.sshd.sftp.client with type parameters of type SftpClient.OpenMode Modifier and Type Field Description static Set<SftpClient.OpenMode>
SftpClient. DEFAULT_CHANNEL_MODES
Default modes for opening a channel if no specific modes specifiedMethods in org.apache.sshd.sftp.client that return SftpClient.OpenMode Modifier and Type Method Description static SftpClient.OpenMode
SftpClient.OpenMode. valueOf(String name)
Returns the enum constant of this type with the specified name.static SftpClient.OpenMode[]
SftpClient.OpenMode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.sshd.sftp.client that return types with arguments of type SftpClient.OpenMode Modifier and Type Method Description static Set<SftpClient.OpenMode>
SftpClient.OpenMode. fromOpenOptions(Collection<? extends OpenOption> options)
ConvertsStandardOpenOption
-s intoSftpClient.OpenMode
-sMethods in org.apache.sshd.sftp.client with parameters of type SftpClient.OpenMode Modifier and Type Method Description default SftpClient.CloseableHandle
SftpClient. open(String path, SftpClient.OpenMode... options)
Opens a remote file with the specified mode(s)default FileChannel
SftpClient. openRemoteFileChannel(String path, SftpClient.OpenMode... modes)
default InputStream
SftpClient. read(String path, int bufferSize, SftpClient.OpenMode... mode)
default InputStream
SftpClient. read(String path, SftpClient.OpenMode... mode)
default OutputStream
SftpClient. write(String path, int bufferSize, SftpClient.OpenMode... mode)
default OutputStream
SftpClient. write(String path, SftpClient.OpenMode... mode)
Method parameters in org.apache.sshd.sftp.client with type arguments of type SftpClient.OpenMode Modifier and Type Method Description SftpClient.CloseableHandle
SftpClient. open(String path, Collection<SftpClient.OpenMode> options)
Opens a remote file with the specified mode(s)FileChannel
SftpClient. openRemoteFileChannel(String path, Collection<SftpClient.OpenMode> modes)
Opens anFileChannel
on the specified remote pathInputStream
SftpClient. read(String path, int bufferSize, Collection<SftpClient.OpenMode> mode)
Read a remote file's data via an input streamdefault InputStream
SftpClient. read(String path, Collection<SftpClient.OpenMode> mode)
OutputStream
SftpClient. write(String path, int bufferSize, Collection<SftpClient.OpenMode> mode)
Write to a remote file via an output streamdefault OutputStream
SftpClient. write(String path, Collection<SftpClient.OpenMode> mode)
-
Uses of SftpClient.OpenMode in org.apache.sshd.sftp.client.impl
Fields in org.apache.sshd.sftp.client.impl with type parameters of type SftpClient.OpenMode Modifier and Type Field Description protected Collection<SftpClient.OpenMode>
SftpRemotePathChannel. modes
static Set<SftpClient.OpenMode>
SftpRemotePathChannel. READ_MODES
static Set<SftpClient.OpenMode>
SftpRemotePathChannel. WRITE_MODES
Method parameters in org.apache.sshd.sftp.client.impl with type arguments of type SftpClient.OpenMode Modifier and Type Method Description SftpClient.CloseableHandle
AbstractSftpClient. open(String path, Collection<SftpClient.OpenMode> options)
FileChannel
AbstractSftpClient. openRemoteFileChannel(String path, Collection<SftpClient.OpenMode> modes)
InputStream
AbstractSftpClient. read(String path, int bufferSize, Collection<SftpClient.OpenMode> mode)
InputStream
AbstractSftpClient. read(String path, Collection<SftpClient.OpenMode> mode)
OutputStream
AbstractSftpClient. write(String path, int bufferSize, Collection<SftpClient.OpenMode> mode)
OutputStream
AbstractSftpClient. write(String path, Collection<SftpClient.OpenMode> mode)
Constructor parameters in org.apache.sshd.sftp.client.impl with type arguments of type SftpClient.OpenMode Constructor Description SftpInputStreamAsync(AbstractSftpClient client, int bufferSize, String path, Collection<SftpClient.OpenMode> mode)
SftpOutputStreamAsync(AbstractSftpClient client, int bufferSize, String path, Collection<SftpClient.OpenMode> mode)
SftpRemotePathChannel(String path, SftpClient sftp, boolean closeOnExit, Collection<SftpClient.OpenMode> modes)
-