Interface Migrator
-
- All Known Implementing Classes:
Version6Migrator,Version7Migrator
public interface Migrator- Since:
- 1.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidmigrate(Path vaultRoot, String masterkeyFilename, CharSequence passphrase)Performs the migration this migrator is built for.voidmigrate(Path vaultRoot, String masterkeyFilename, CharSequence passphrase, MigrationProgressListener progressListener)Performs the migration this migrator is built for.
-
-
-
Method Detail
-
migrate
default void migrate(Path vaultRoot, String masterkeyFilename, CharSequence passphrase) throws org.cryptomator.cryptolib.api.InvalidPassphraseException, org.cryptomator.cryptolib.api.UnsupportedVaultFormatException, IOException
Performs the migration this migrator is built for.- Parameters:
vaultRoot-masterkeyFilename-passphrase-- Throws:
org.cryptomator.cryptolib.api.InvalidPassphraseExceptionorg.cryptomator.cryptolib.api.UnsupportedVaultFormatExceptionIOException
-
migrate
void migrate(Path vaultRoot, String masterkeyFilename, CharSequence passphrase, MigrationProgressListener progressListener) throws org.cryptomator.cryptolib.api.InvalidPassphraseException, org.cryptomator.cryptolib.api.UnsupportedVaultFormatException, IOException
Performs the migration this migrator is built for.- Parameters:
vaultRoot-masterkeyFilename-passphrase-progressListener-- Throws:
org.cryptomator.cryptolib.api.InvalidPassphraseExceptionorg.cryptomator.cryptolib.api.UnsupportedVaultFormatExceptionIOException
-
-