public final class PreferencesImpl extends Object implements Preferences
PreferencesPreferences.ColorTheme| Constructor and Description |
|---|
PreferencesImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHistory(String indexPath) |
Preferences.ColorTheme |
getColorTheme() |
String |
getDirImpl() |
List<String> |
getHistory() |
boolean |
isKeepAllCommits() |
boolean |
isNoReader() |
boolean |
isReadOnly() |
boolean |
isUseCompound() |
void |
setColorTheme(Preferences.ColorTheme theme) |
void |
setIndexOpenerPrefs(boolean readOnly,
String dirImpl,
boolean noReader,
boolean useCompound,
boolean keepAllCommits) |
public PreferencesImpl()
throws IOException
IOExceptionpublic List<String> getHistory()
getHistory in interface Preferencespublic void addHistory(String indexPath) throws IOException
addHistory in interface PreferencesIOExceptionpublic Preferences.ColorTheme getColorTheme()
getColorTheme in interface Preferencespublic void setColorTheme(Preferences.ColorTheme theme) throws IOException
setColorTheme in interface PreferencesIOExceptionpublic boolean isReadOnly()
isReadOnly in interface Preferencespublic String getDirImpl()
getDirImpl in interface Preferencespublic boolean isNoReader()
isNoReader in interface Preferencespublic boolean isUseCompound()
isUseCompound in interface Preferencespublic boolean isKeepAllCommits()
isKeepAllCommits in interface Preferencespublic void setIndexOpenerPrefs(boolean readOnly,
String dirImpl,
boolean noReader,
boolean useCompound,
boolean keepAllCommits)
throws IOException
setIndexOpenerPrefs in interface PreferencesIOExceptionCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.