Uses of Class
org.apache.sshd.client.subsystem.sftp.SftpClient.OpenMode
-
Packages that use SftpClient.OpenMode Package Description org.apache.sshd.client.subsystem.sftp org.apache.sshd.client.subsystem.sftp.fs org.apache.sshd.client.subsystem.sftp.impl -
-
Uses of SftpClient.OpenMode in org.apache.sshd.client.subsystem.sftp
Fields in org.apache.sshd.client.subsystem.sftp with type parameters of type SftpClient.OpenMode Modifier and Type Field Description static java.util.Set<SftpClient.OpenMode>
SftpClient. DEFAULT_CHANNEL_MODES
Default modes for opening a channel if no specific modes specifiedprivate java.util.Collection<SftpClient.OpenMode>
SftpRemotePathChannel. modes
static java.util.Set<SftpClient.OpenMode>
SftpRemotePathChannel. READ_MODES
static java.util.Set<SftpClient.OpenMode>
SftpRemotePathChannel. WRITE_MODES
Methods in org.apache.sshd.client.subsystem.sftp that return SftpClient.OpenMode Modifier and Type Method Description static SftpClient.OpenMode
SftpClient.OpenMode. valueOf(java.lang.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.client.subsystem.sftp that return types with arguments of type SftpClient.OpenMode Modifier and Type Method Description static java.util.Set<SftpClient.OpenMode>
SftpClient.OpenMode. fromOpenOptions(java.util.Collection<? extends java.nio.file.OpenOption> options)
ConvertsStandardOpenOption
-s intoSftpClient.OpenMode
-sMethods in org.apache.sshd.client.subsystem.sftp with parameters of type SftpClient.OpenMode Modifier and Type Method Description default SftpClient.CloseableHandle
SftpClient. open(java.lang.String path, SftpClient.OpenMode... options)
Opens a remote file with the specified mode(s)default SftpRemotePathChannel
SftpClient. openRemoteFileChannel(java.lang.String path, SftpClient.OpenMode... modes)
default java.io.InputStream
SftpClient. read(java.lang.String path, int bufferSize, SftpClient.OpenMode... mode)
default java.io.InputStream
SftpClient. read(java.lang.String path, SftpClient.OpenMode... mode)
default java.io.OutputStream
SftpClient. write(java.lang.String path, int bufferSize, SftpClient.OpenMode... mode)
default java.io.OutputStream
SftpClient. write(java.lang.String path, SftpClient.OpenMode... mode)
Method parameters in org.apache.sshd.client.subsystem.sftp with type arguments of type SftpClient.OpenMode Modifier and Type Method Description private void
SftpRemotePathChannel. ensureOpen(java.util.Collection<SftpClient.OpenMode> reqModes)
Checks that the channel is open and that its current mode contains at least one of the required onesSftpClient.CloseableHandle
SftpClient. open(java.lang.String path, java.util.Collection<SftpClient.OpenMode> options)
Opens a remote file with the specified mode(s)default SftpRemotePathChannel
SftpClient. openRemoteFileChannel(java.lang.String path, java.util.Collection<SftpClient.OpenMode> modes)
Opens anSftpRemotePathChannel
on the specified remote pathdefault java.io.InputStream
SftpClient. read(java.lang.String path, int bufferSize, java.util.Collection<SftpClient.OpenMode> mode)
Read a remote file's data via an input streamdefault java.io.InputStream
SftpClient. read(java.lang.String path, java.util.Collection<SftpClient.OpenMode> mode)
default java.io.OutputStream
SftpClient. write(java.lang.String path, int bufferSize, java.util.Collection<SftpClient.OpenMode> mode)
Write to a remote file via an output streamdefault java.io.OutputStream
SftpClient. write(java.lang.String path, java.util.Collection<SftpClient.OpenMode> mode)
Constructor parameters in org.apache.sshd.client.subsystem.sftp with type arguments of type SftpClient.OpenMode Constructor Description SftpInputStreamWithChannel(SftpClient client, int bufferSize, java.lang.String path, java.util.Collection<SftpClient.OpenMode> mode)
SftpOutputStreamWithChannel(SftpClient client, int bufferSize, java.lang.String path, java.util.Collection<SftpClient.OpenMode> mode)
SftpRemotePathChannel(java.lang.String path, SftpClient sftp, boolean closeOnExit, java.util.Collection<SftpClient.OpenMode> modes)
-
Uses of SftpClient.OpenMode in org.apache.sshd.client.subsystem.sftp.fs
Methods in org.apache.sshd.client.subsystem.sftp.fs with parameters of type SftpClient.OpenMode Modifier and Type Method Description java.io.InputStream
SftpFileSystem.Wrapper. read(java.lang.String path, SftpClient.OpenMode... mode)
java.io.OutputStream
SftpFileSystem.Wrapper. write(java.lang.String path, SftpClient.OpenMode... mode)
Method parameters in org.apache.sshd.client.subsystem.sftp.fs with type arguments of type SftpClient.OpenMode Modifier and Type Method Description SftpClient.CloseableHandle
SftpFileSystem.Wrapper. open(java.lang.String path, java.util.Collection<SftpClient.OpenMode> options)
java.io.InputStream
SftpFileSystem.Wrapper. read(java.lang.String path, int bufferSize, java.util.Collection<SftpClient.OpenMode> mode)
java.io.InputStream
SftpFileSystem.Wrapper. read(java.lang.String path, java.util.Collection<SftpClient.OpenMode> mode)
java.io.OutputStream
SftpFileSystem.Wrapper. write(java.lang.String path, int bufferSize, java.util.Collection<SftpClient.OpenMode> mode)
java.io.OutputStream
SftpFileSystem.Wrapper. write(java.lang.String path, java.util.Collection<SftpClient.OpenMode> mode)
Constructor parameters in org.apache.sshd.client.subsystem.sftp.fs with type arguments of type SftpClient.OpenMode Constructor Description SftpFileSystemChannel(java.lang.String remotePath, SftpFileSystem fs, java.util.Collection<SftpClient.OpenMode> modes)
SftpFileSystemChannel(SftpPath p, java.util.Collection<SftpClient.OpenMode> modes)
-
Uses of SftpClient.OpenMode in org.apache.sshd.client.subsystem.sftp.impl
Method parameters in org.apache.sshd.client.subsystem.sftp.impl with type arguments of type SftpClient.OpenMode Modifier and Type Method Description SftpClient.CloseableHandle
AbstractSftpClient. open(java.lang.String path, java.util.Collection<SftpClient.OpenMode> options)
-