Class SftpFileSystemChannel
- java.lang.Object
-
- java.nio.channels.spi.AbstractInterruptibleChannel
-
- java.nio.channels.FileChannel
-
- org.apache.sshd.client.subsystem.sftp.SftpRemotePathChannel
-
- org.apache.sshd.client.subsystem.sftp.fs.SftpFileSystemChannel
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ByteChannel
,Channel
,GatheringByteChannel
,InterruptibleChannel
,ReadableByteChannel
,ScatteringByteChannel
,SeekableByteChannel
,WritableByteChannel
public class SftpFileSystemChannel extends SftpRemotePathChannel
- Author:
- Apache MINA SSHD Project
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.nio.channels.FileChannel
FileChannel.MapMode
-
-
Field Summary
-
Fields inherited from class org.apache.sshd.client.subsystem.sftp.SftpRemotePathChannel
COPY_BUFSIZE_PROP, DEFAULT_TRANSFER_BUFFER_SIZE, READ_MODES, WRITE_MODES
-
-
Constructor Summary
Constructors Constructor Description SftpFileSystemChannel(String remotePath, SftpFileSystem fs, Collection<SftpClient.OpenMode> modes)
SftpFileSystemChannel(SftpPath p, Collection<SftpClient.OpenMode> modes)
-
Method Summary
-
Methods inherited from class org.apache.sshd.client.subsystem.sftp.SftpRemotePathChannel
doRead, doWrite, force, getRemotePath, implCloseChannel, lock, map, position, position, read, read, read, size, toString, transferFrom, transferTo, truncate, tryLock, write, write, write
-
Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, close, end, isOpen
-
-
-
-
Constructor Detail
-
SftpFileSystemChannel
public SftpFileSystemChannel(SftpPath p, Collection<SftpClient.OpenMode> modes) throws IOException
- Throws:
IOException
-
SftpFileSystemChannel
public SftpFileSystemChannel(String remotePath, SftpFileSystem fs, Collection<SftpClient.OpenMode> modes) throws IOException
- Throws:
IOException
-
-