Package org.bitcoinj.wallet
Interface WalletFiles.Listener
- 
- Enclosing class:
 - WalletFiles
 
public static interface WalletFiles.ListenerImplementors 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 voidonAfterAutoSave(java.io.File newlySavedFile)Called on the auto-save thread after the newly created temporary file has been filled with data and renamed.voidonBeforeAutoSave(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. 
 - 
 
 -