Package | Description |
---|---|
org.waarp.common.digest |
Classes implementing digests support (MD2, MD5, SHA1, SHA-256/384/512, CRC32,
ADLER32)
MD5 can be implemented through Fast MD5 implementation, but can be reverted to JVM native digest also. |
org.waarp.common.filemonitor |
This package would like to propose a JSE 6 compatible way to scan a directory
for new, deleted and changed
files, in order to allow some functions like pooling a directory before
actions.
|
org.waarp.openr66.context.task |
Classes implementing Tasks for pre, post or error operations
Several kind of tasks exist in OpenR66:
LOG, MOVE, MOVERENAME, COPY, COPYRENAME, EXEC, EXECMOVE, LINKRENAME, TRANSFER, VALIDFILEPATH, DELETE Several tasks are possible to run before a transfer starts (pre action), after a transfer is finished correctly (post action) or after an error occurs (either in pre or post action or during transfer: error action). |
org.waarp.openr66.protocol.configuration |
Class implementing Configuration
|
org.waarp.openr66.protocol.localhandler.packet |
Classes implementing Packet for Local Handlers
|
org.waarp.openr66.protocol.utils |
Classes implementing Utilities
|
Modifier and Type | Method and Description |
---|---|
static FilesystemBasedDigest.DigestAlgo |
FilesystemBasedDigest.DigestAlgo.getFromName(String name) |
static FilesystemBasedDigest.DigestAlgo |
FilesystemBasedDigest.DigestAlgo.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilesystemBasedDigest.DigestAlgo[] |
FilesystemBasedDigest.DigestAlgo.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
FilesystemBasedDigest.getHash(io.netty.buffer.ByteBuf buffer,
FilesystemBasedDigest.DigestAlgo algo)
Get hash with given
ByteBuf (from Netty) |
static byte[] |
FilesystemBasedDigest.getHash(File f,
boolean nio,
FilesystemBasedDigest.DigestAlgo algo)
Get the Digest for the file using the specified algorithm using access
through NIO or not
|
static byte[] |
FilesystemBasedDigest.getHash(InputStream stream,
FilesystemBasedDigest.DigestAlgo algo)
Get the Digest for the file using the specified algorithm using access
through NIO or not
|
void |
FilesystemBasedDigest.initialize(FilesystemBasedDigest.DigestAlgo algo)
(Re)Initialize the digest
|
Constructor and Description |
---|
FilesystemBasedDigest(FilesystemBasedDigest.DigestAlgo algo)
Constructor of an independent Digest
|
Modifier and Type | Field and Description |
---|---|
protected static FilesystemBasedDigest.DigestAlgo |
FileMonitor.defaultDigestAlgo |
protected FilesystemBasedDigest.DigestAlgo |
FileMonitor.digest |
Constructor and Description |
---|
FileMonitor(String name,
File statusFile,
File stopFile,
File directory,
FilesystemBasedDigest.DigestAlgo digest,
long elapseTime,
FileFilter filter,
boolean scanSubdir,
FileMonitorCommandRunnableFuture commandValidFile,
FileMonitorCommandRunnableFuture commandRemovedFile,
FileMonitorCommandRunnableFuture commandCheckIteration) |
Modifier and Type | Method and Description |
---|---|
FilesystemBasedDigest.DigestAlgo |
FtpArgs.getDigest() |
Modifier and Type | Method and Description |
---|---|
FtpArgs |
FtpArgs.setDigest(FilesystemBasedDigest.DigestAlgo digest) |
Modifier and Type | Method and Description |
---|---|
FilesystemBasedDigest.DigestAlgo |
Configuration.getDigest() |
FilesystemBasedDigest.DigestAlgo |
PartnerConfiguration.getDigestAlgo() |
static FilesystemBasedDigest.DigestAlgo |
PartnerConfiguration.getDigestAlgo(String algo) |
Modifier and Type | Method and Description |
---|---|
void |
Configuration.setDigest(FilesystemBasedDigest.DigestAlgo digest) |
Modifier and Type | Method and Description |
---|---|
boolean |
DataPacket.isKeyValid(FilesystemBasedDigest.DigestAlgo algo) |
Modifier and Type | Method and Description |
---|---|
static io.netty.buffer.ByteBuf |
FileUtils.getHash(io.netty.buffer.ByteBuf buffer,
FilesystemBasedDigest.DigestAlgo algo) |
Copyright © 2009–2020 Waarp. All rights reserved.