private void buildDropboxUser() { User user = new User(); UserPreference preferences = UserPreference.getInstance(); preferences.readPreferences(user.username); preferenceUI.setUsername(user.username); systemManager.changeUser( user.username, user.email, preferences.getContentPath(), preferences.getNumMatchingTextDisplay(), preferences.getClearCachesTimeInHours()); }
private void buildDefaultUser() { UserPreference preferences = UserPreference.getInstance(); preferences.readPreferences(defaultUser); preferenceUI.setUsername(defaultUser); systemManager.reset(); }