/** * Gets the date that auto-update was last run. * * @return The date which auto-update was last run. Not {@code null}. */ public Date getLastAutoUpdateDate() { long lastRun = getPrefs().getLong(LAST_RUN_PREFS_KEY, 0); return new Date(lastRun); }
private void load() { Preferences prefs = getPreferences(); useRegularExpressions = prefs.getBoolean(USE_REGULAR_EXPRESSIONS_KEY, false); searchDelay = prefs.getLong(SEARCH_DELAY_KEY, 500); }
private void load() { Preferences prefs = getPreferences(); useRegularExpressions = prefs.getBoolean(USE_REGULAR_EXPRESSIONS_KEY, false); searchDelay = prefs.getLong(SEARCH_DELAY_KEY, 500); caseSensitive = prefs.getBoolean(CASE_SENSITIVE_KEY, DEFAULT_CASE_SENSITIVE_VALUE); wholeWords = prefs.getBoolean(WHOLE_WORDS_KEY, false); ignoreWhiteSpace = prefs.getBoolean(IGNORE_WHITE_SPACE_KEY, true); }
private void load() { Preferences prefs = getPreferences(); useRegularExpressions = prefs.getBoolean(USE_REGULAR_EXPRESSIONS_KEY, false); searchDelay = prefs.getLong(SEARCH_DELAY_KEY, 500); caseSensitive = prefs.getBoolean(CASE_SENSITIVE_KEY, DEFAULT_CASE_SENSITIVE_VALUE); wholeWords = prefs.getBoolean(WHOLE_WORDS_KEY, false); ignoreWhiteSpace = prefs.getBoolean(IGNORE_WHITE_SPACE_KEY, true); }
private void load() { Preferences prefs = getPreferences(); useRegularExpressions = prefs.getBoolean(USE_REGULAR_EXPRESSIONS_KEY, false); searchDelay = prefs.getLong(SEARCH_DELAY_KEY, 500); caseSensitive = prefs.getBoolean(CASE_SENSITIVE_KEY, DEFAULT_CASE_SENSITIVE_VALUE); wholeWords = prefs.getBoolean(WHOLE_WORDS_KEY, false); ignoreWhiteSpace = prefs.getBoolean(IGNORE_WHITE_SPACE_KEY, true); }