Package org.bitcoinj.wallet
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 TypeMethodDescriptionvoidonAfterAutoSave(File newlySavedFile) Called on the auto-save thread after the newly created temporary file has been filled with data and renamed.voidonBeforeAutoSave(File tempFile) 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
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
Called on the auto-save thread after the newly created temporary file has been filled with data and renamed.
-