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:
java.io.Closeable
,java.lang.AutoCloseable
,java.nio.channels.ByteChannel
,java.nio.channels.Channel
,java.nio.channels.GatheringByteChannel
,java.nio.channels.InterruptibleChannel
,java.nio.channels.ReadableByteChannel
,java.nio.channels.ScatteringByteChannel
,java.nio.channels.SeekableByteChannel
,java.nio.channels.WritableByteChannel
public class SftpFileSystemChannel extends SftpRemotePathChannel
-
-
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(java.lang.String remotePath, SftpFileSystem fs, java.util.Collection<SftpClient.OpenMode> modes)
SftpFileSystemChannel(SftpPath p, java.util.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, java.util.Collection<SftpClient.OpenMode> modes) throws java.io.IOException
- Throws:
java.io.IOException
-
SftpFileSystemChannel
public SftpFileSystemChannel(java.lang.String remotePath, SftpFileSystem fs, java.util.Collection<SftpClient.OpenMode> modes) throws java.io.IOException
- Throws:
java.io.IOException
-
-