com.google.bitcoin.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
 void onAfterAutoSave(File newlySavedFile)
          Called on the auto-save thread after the newly created temporary file has been filled with data and renamed.
 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.
 

Method Detail

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.



Copyright © 2014. All rights reserved.