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,SftpClientHolder
- Direct Known Subclasses:
MD5FileExtensionImpl,MD5HandleExtensionImpl
-
Field Summary
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
logFields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTORFields inherited from interface org.apache.sshd.common.OptionalFeature
FALSE, TRUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractMD5HashExtension(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
-
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
-