Interface WalletFiles.Listener

Enclosing class:
WalletFiles

public static interface WalletFiles.Listener
Implementors can do pre/post treatment of the wallet file. Useful for adjusting permissions and other things.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAfterAutoSave(File newlySavedFile)
    Called on the auto-save thread after the newly created temporary file has been filled with data and renamed.
    void
    Called on the auto-save thread when a new temporary file is created but before the wallet data is saved to it.
  • Method Details

    • onBeforeAutoSave

      void onBeforeAutoSave(File tempFile)
      Called on the auto-save thread when a new temporary file is created but before the wallet data is saved to it. If you want to do something here like adjust permissions, go ahead and do so.
    • onAfterAutoSave

      void onAfterAutoSave(File newlySavedFile)
      Called on the auto-save thread after the newly created temporary file has been filled with data and renamed.