Uses of Enum
org.apache.sshd.sftp.client.SftpClient.OpenMode
Packages that use SftpClient.OpenMode
Package
Description
-
Uses of SftpClient.OpenMode in org.apache.sshd.sftp.client
Fields in org.apache.sshd.sftp.client with type parameters of type SftpClient.OpenModeModifier and TypeFieldDescriptionstatic final 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.OpenModeModifier and TypeMethodDescriptionstatic SftpClient.OpenMode
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.OpenModeModifier and TypeMethodDescriptionstatic 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.OpenModeModifier and TypeMethodDescriptiondefault 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.OpenModeModifier and TypeMethodDescriptionSftpClient.open
(String path, Collection<SftpClient.OpenMode> options) Opens a remote file with the specified mode(s)SftpClient.openRemoteFileChannel
(String path, Collection<SftpClient.OpenMode> modes) Opens anFileChannel
on the specified remote pathSftpClient.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) 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.fs
Methods in org.apache.sshd.sftp.client.fs with parameters of type SftpClient.OpenModeModifier and TypeMethodDescriptionSftpFileSystem.Wrapper.read
(String path, SftpClient.OpenMode... mode) SftpFileSystem.Wrapper.write
(String path, SftpClient.OpenMode... mode) Method parameters in org.apache.sshd.sftp.client.fs with type arguments of type SftpClient.OpenModeModifier and TypeMethodDescriptionSftpFileSystem.Wrapper.open
(String path, Collection<SftpClient.OpenMode> options) SftpFileSystem.Wrapper.read
(String path, int bufferSize, Collection<SftpClient.OpenMode> mode) SftpFileSystem.Wrapper.read
(String path, Collection<SftpClient.OpenMode> mode) SftpFileSystem.Wrapper.write
(String path, int bufferSize, Collection<SftpClient.OpenMode> mode) SftpFileSystem.Wrapper.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.OpenModeModifier and TypeFieldDescriptionprotected final Collection<SftpClient.OpenMode>
SftpRemotePathChannel.modes
static final Set<SftpClient.OpenMode>
SftpRemotePathChannel.READ_MODES
static final Set<SftpClient.OpenMode>
SftpRemotePathChannel.WRITE_MODES
Method parameters in org.apache.sshd.sftp.client.impl with type arguments of type SftpClient.OpenModeModifier and TypeMethodDescriptionprivate void
SftpRemotePathChannel.ensureOpen
(Collection<SftpClient.OpenMode> reqModes) Checks that the channel is open and that its current mode contains at least one of the required onesAbstractSftpClient.open
(String path, Collection<SftpClient.OpenMode> options) AbstractSftpClient.openRemoteFileChannel
(String path, Collection<SftpClient.OpenMode> modes) AbstractSftpClient.read
(String path, int bufferSize, Collection<SftpClient.OpenMode> mode) AbstractSftpClient.read
(String path, Collection<SftpClient.OpenMode> mode) AbstractSftpClient.write
(String path, int bufferSize, Collection<SftpClient.OpenMode> mode) AbstractSftpClient.write
(String path, Collection<SftpClient.OpenMode> mode) Constructor parameters in org.apache.sshd.sftp.client.impl with type arguments of type SftpClient.OpenModeModifierConstructorDescriptionSftpInputStreamAsync
(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)