public static enum ZipRaesDriver.KeyProviderSyncStrategy extends Enum<ZipRaesDriver.KeyProviderSyncStrategy>
| Enum Constant and Description |
|---|
RESET_CANCELLED_KEY
Calls
PromptingKeyProvider.resetCancelledKey()
if and only if the given provider is a PromptingKeyProvider. |
RESET_UNCONDITIONALLY
Calls
PromptingKeyProvider.resetUnconditionally()
if and only if the given provider is a PromptingKeyProvider. |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
sync(KeyProvider<?> provider)
This method is called upon a call to
ZipRaesController.sync(de.schlichtherle.truezip.util.BitField<de.schlichtherle.truezip.fs.FsSyncOption>, de.schlichtherle.truezip.util.ExceptionHandler<? super de.schlichtherle.truezip.fs.FsSyncException, X>) after a successful
synchronization of a RAES encrypted ZIP file. |
static ZipRaesDriver.KeyProviderSyncStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZipRaesDriver.KeyProviderSyncStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZipRaesDriver.KeyProviderSyncStrategy RESET_CANCELLED_KEY
PromptingKeyProvider.resetCancelledKey()
if and only if the given provider is a PromptingKeyProvider.public static final ZipRaesDriver.KeyProviderSyncStrategy RESET_UNCONDITIONALLY
PromptingKeyProvider.resetUnconditionally()
if and only if the given provider is a PromptingKeyProvider.public static ZipRaesDriver.KeyProviderSyncStrategy[] values()
for (ZipRaesDriver.KeyProviderSyncStrategy c : ZipRaesDriver.KeyProviderSyncStrategy.values()) System.out.println(c);
public static ZipRaesDriver.KeyProviderSyncStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic abstract void sync(KeyProvider<?> provider)
ZipRaesController.sync(de.schlichtherle.truezip.util.BitField<de.schlichtherle.truezip.fs.FsSyncOption>, de.schlichtherle.truezip.util.ExceptionHandler<? super de.schlichtherle.truezip.fs.FsSyncException, X>) after a successful
synchronization of a RAES encrypted ZIP file.provider - the key provider for the RAES encrypted ZIP file
which has been successfully synchronized.Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.