Class AbstractMD5HashExtension
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.AbstractMD5HashExtension
- All Implemented Interfaces:
NamedResource
,OptionalFeature
,SftpClientExtension
,RawSftpClient
- Direct Known Subclasses:
MD5FileExtensionImpl
,MD5HandleExtensionImpl
-
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
AbstractMD5HashExtension
(String name, SftpClient client, RawSftpClient raw, Collection<String> extras) -
Method Summary
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, validateIncomingResponse
-
Constructor Details
-
AbstractMD5HashExtension
protected AbstractMD5HashExtension(String name, SftpClient client, RawSftpClient raw, Collection<String> extras)
-
-
Method Details
-
doGetHash
protected byte[] doGetHash(Object target, long offset, long length, byte[] quickHash) throws IOException - Throws:
IOException
-