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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAfterAutoSave(java.io.File newlySavedFile)
Called on the auto-save thread after the newly created temporary file has been filled with data and renamed.void
onBeforeAutoSave(java.io.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 Detail
-
onBeforeAutoSave
void onBeforeAutoSave(java.io.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(java.io.File newlySavedFile)
Called on the auto-save thread after the newly created temporary file has been filled with data and renamed.
-
-