public interface CheckFileNameExtension extends SftpClientExtension
BY_NAME_COMPARATOR, NAME_EXTRACTORFALSE, TRUE| Modifier and Type | Method and Description |
|---|---|
java.util.Map.Entry<java.lang.String,java.util.Collection<byte[]>> |
checkFileName(java.lang.String name,
java.util.Collection<java.lang.String> algorithms,
long startOffset,
long length,
int blockSize) |
getClientfindByName, getName, getNameList, getNames, ofName, removeByNameall, any, isSupported, ofjava.util.Map.Entry<java.lang.String,java.util.Collection<byte[]>> checkFileName(java.lang.String name,
java.util.Collection<java.lang.String> algorithms,
long startOffset,
long length,
int blockSize)
throws java.io.IOException
name - Remote file name/pathalgorithms - Hash algorithms in preferred orderstartOffset - Start offset of the hashlength - Length of data to hash - if zero then till EOFblockSize - Input block size to calculate individual hashes - if zero the one hash of all
the dataMap.Entry key left=hash algorithm name, value=the
calculated hashes.java.io.IOException - If failed to execute the command