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.fs 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 java.util.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(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.sftp.client 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.sftp.client 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 java.nio.channels.FileChannel
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.sftp.client with type arguments of type SftpClient.OpenMode Modifier and Type Method Description SftpClient.CloseableHandle
SftpClient. open(java.lang.String path, java.util.Collection<SftpClient.OpenMode> options)
Opens a remote file with the specified mode(s)java.nio.channels.FileChannel
SftpClient. openRemoteFileChannel(java.lang.String path, java.util.Collection<SftpClient.OpenMode> modes)
Opens anFileChannel
on the specified remote pathjava.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)
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)
-
Uses of SftpClient.OpenMode in org.apache.sshd.sftp.client.fs
Methods in org.apache.sshd.sftp.client.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.sftp.client.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)
-
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 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
Method parameters in org.apache.sshd.sftp.client.impl 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
AbstractSftpClient. open(java.lang.String path, java.util.Collection<SftpClient.OpenMode> options)
java.nio.channels.FileChannel
AbstractSftpClient. openRemoteFileChannel(java.lang.String path, java.util.Collection<SftpClient.OpenMode> modes)
java.io.InputStream
AbstractSftpClient. read(java.lang.String path, int bufferSize, java.util.Collection<SftpClient.OpenMode> mode)
java.io.OutputStream
AbstractSftpClient. write(java.lang.String path, int bufferSize, java.util.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, java.lang.String path, java.util.Collection<SftpClient.OpenMode> mode)
SftpOutputStreamAsync(AbstractSftpClient 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)
-