Created
January 19, 2015 16:37
-
-
Save sreilly/95bbb7c26737c5967cf2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.moneydance.apps.md.controller.AccountBookWrapper; | |
AccountBookWrapper datafile = AccountBookWrapper.wrapperForFolder("/path/to/MyFinances.moneydance") | |
datafile.doInitialLoad(new SecretKeyCallback(){ | |
public String getPassphrase(String hint) { return "datafilepassword"; } | |
public String getPassphrase(String dataName, String hint) { return "datafilepassword" } | |
}); | |
AccountBook moneydanceData = datafile.getBook(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment