public interface CheckFileNameExtension extends SftpClientExtension
BY_NAME_COMPARATOR, NAME_EXTRACTOR
FALSE, TRUE
Modifier and Type | Method and Description |
---|---|
Map.Entry<String,Collection<byte[]>> |
checkFileName(String name,
Collection<String> algorithms,
long startOffset,
long length,
int blockSize) |
getClient
findByName, getName, getNameList, getNames, removeByName
all, any, isSupported, of
Map.Entry<String,Collection<byte[]>> checkFileName(String name, Collection<String> algorithms, long startOffset, long length, int blockSize) throws 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.IOException
- If failed to execute the commandCopyright © 2018 The Apache Software Foundation. All rights reserved.