Java Code Examples for net.bither.bitherj.utils.Utils#getWalletRomCache()

The following examples show how to use net.bither.bitherj.utils.Utils#getWalletRomCache() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FileUtil.java    From bither-android with Apache License 2.0 5 votes vote down vote up
private static File getBackupRomDir() {
    File backupDir = new File(Utils.getWalletRomCache(), BITHER_BACKUP_ROM_DIR);

    if (!backupDir.exists()) {
        backupDir.mkdirs();
    }
    return backupDir;
}
 
Example 2
Source File: UpgradeUtil.java    From bither-android with Apache License 2.0 4 votes vote down vote up
public static File getWarmPrivateAddressSequenceFile() {
    File dir = Utils.getWalletRomCache();
    File file = new File(dir, WALLET_SEQUENCE_PRIVATE);
    return file;
}
 
Example 3
Source File: UpgradeUtil.java    From bither-android with Apache License 2.0 4 votes vote down vote up
public static File getWatchOnlyAddressSequenceFile() {
    File dir = Utils.getWalletRomCache();
    File file = new File(dir, WALLET_SEQUENCE_WATCH_ONLY);
    return file;
}