public class PreferencesBuilder
extends java.lang.Object
DefaultPreferences| Constructor and Description |
|---|
PreferencesBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Preferences |
build()
Gets
Preferences |
PreferencesBuilder |
withCustomPreference(java.lang.String key,
java.lang.String value)
Sets a pair of key and its value for the preference
|
PreferencesBuilder |
withGeocodingPreferences(GeocodingPreference preferences)
Sets to include the given
GeocodingPreference |
PreferencesBuilder |
withMatchingPreferences(MatchingPreference preferences)
Sets to include the given
MatchingPreference |
PreferencesBuilder |
withOutputPreferences(OutputPreference preferences)
Sets to include the given
OutputPreference |
public PreferencesBuilder withCustomPreference(java.lang.String key, java.lang.String value)
key - keyvalue - value for the keyPreferencesBuilderpublic PreferencesBuilder withGeocodingPreferences(GeocodingPreference preferences)
GeocodingPreferencepreferences - GeocodingPreference to addPreferencesBuilderpublic PreferencesBuilder withMatchingPreferences(MatchingPreference preferences)
MatchingPreferencepreferences - MatchingPreference to addPreferencesBuilderpublic PreferencesBuilder withOutputPreferences(OutputPreference preferences)
OutputPreferencepreferences - OutputPreference to addPreferencesBuilderpublic Preferences build()
PreferencesPreferences