Interface Migrator

    • 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.InvalidPassphraseException
        org.cryptomator.cryptolib.api.UnsupportedVaultFormatException
        IOException
      • 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.InvalidPassphraseException
        org.cryptomator.cryptolib.api.UnsupportedVaultFormatException
        IOException