Class CopyDataExtensionImpl
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.CopyDataExtensionImpl
- All Implemented Interfaces:
NamedResource, OptionalFeature, CopyDataExtension, SftpClientExtension, RawSftpClient, SftpClientHolder
Implements the "copy-data" extension
- See Also:
-
Field Summary
Fields inherited from class AbstractLoggingBean
logFields inherited from interface NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTORFields inherited from interface OptionalFeature
FALSE, TRUE -
Constructor Summary
ConstructorsConstructorDescriptionCopyDataExtensionImpl(SftpClient client, RawSftpClient raw, Collection<String> extra) -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyData(SftpClient.Handle readHandle, long readOffset, long readLength, SftpClient.Handle writeHandle, long writeOffset) Methods inherited from class AbstractSftpClientExtension
checkExtendedReplyBuffer, checkStatus, getClient, getCommandBuffer, getCommandBuffer, getCommandBuffer, getName, isSupported, putTarget, receive, receive, receive, send, sendAndCheckExtendedCommandStatus, sendExtendedCommand, throwStatusException, writeMethods inherited from class AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NamedResource
getNameMethods inherited from interface OptionalFeature
isSupportedMethods inherited from interface SftpClientHolder
getClient
-
Constructor Details
-
CopyDataExtensionImpl
-
-
Method Details
-
copyData
public void copyData(SftpClient.Handle readHandle, long readOffset, long readLength, SftpClient.Handle writeHandle, long writeOffset) throws IOException - Specified by:
copyDatain interfaceCopyDataExtension- Throws:
IOException
-