Class AbstractCheckFileExtension
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.sftp.client.extensions.helpers.AbstractSftpClientExtension
org.apache.sshd.sftp.client.extensions.helpers.AbstractCheckFileExtension
- All Implemented Interfaces:
NamedResource
,OptionalFeature
,SftpClientExtension
,RawSftpClient
,SftpClientHolder
- Direct Known Subclasses:
CheckFileHandleExtensionImpl
,CheckFileNameExtensionImpl
-
Field Summary
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Fields inherited from interface org.apache.sshd.common.OptionalFeature
FALSE, TRUE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractCheckFileExtension
(String name, SftpClient client, RawSftpClient raw, Collection<String> extras) -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractMap.SimpleImmutableEntry
<String, Collection<byte[]>> doGetHash
(Object target, Collection<String> algorithms, long offset, long length, int blockSize) Methods inherited from class org.apache.sshd.sftp.client.extensions.helpers.AbstractSftpClientExtension
checkExtendedReplyBuffer, checkStatus, getClient, getCommandBuffer, getCommandBuffer, getCommandBuffer, getName, isSupported, putTarget, receive, receive, receive, send, sendAndCheckExtendedCommandStatus, sendExtendedCommand, throwStatusException
-
Constructor Details
-
AbstractCheckFileExtension
protected AbstractCheckFileExtension(String name, SftpClient client, RawSftpClient raw, Collection<String> extras)
-
-
Method Details
-
doGetHash
protected AbstractMap.SimpleImmutableEntry<String,Collection<byte[]>> doGetHash(Object target, Collection<String> algorithms, long offset, long length, int blockSize) throws IOException - Throws:
IOException
-