public class LocaleManagerService extends java.lang.Object implements LocaleManager, LocaleProvider
| Modifier and Type | Class and Description |
|---|---|
static interface |
LocaleManagerService.LocaleManagerConfiguration |
ObservableValue.Change<T>DEFAULT_MANAGER| Constructor and Description |
|---|
LocaleManagerService()
Create empty manager
|
| Modifier and Type | Method and Description |
|---|---|
Observable<ObservableValue.Change<java.util.Locale>> |
changes() |
java.util.Locale |
get()
Immediately resolve the current value if one exists, otherwise throw a
MissingValueException with a cause representing the current failure
state. |
Disposable |
observe(Observer<? super java.util.Locale> observer)
Observers added will receive messages from this Observable.
|
java.util.Locale |
set(java.util.Locale locale)
Set the value of this property to the given value.
|
void |
setProblem(java.lang.Throwable t) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultManager, getManager, getManager, setLocalegetLocaleover, tryGetgetProblem, isEqual, isMatching, isValid, tryGetProblemaggregateBackpressure, aggregateBackpressure, collect, collectBackpressure, compose, concat, concat, concatMap, dropWhile, empty, executeOn, failingValue, filter, flatMap, getNext, map, materialize, merge, merge, mergeMap, observe, of, of, of, reduce, reduceBackpressure, reduceBackpressure, reduceBackpressure, repeating, requestNext, requestUnbounded, retrying, softReference, softReference, synchronize, synchronize, takeWhile, then, thenAfter, toObservable, toValue, toValue, toValue, upcast, value, weakReference, weakReferencemap, over, setDefault, unsetpublic java.util.Locale get()
ObservableValueMissingValueException with a cause representing the current failure
state.get in interface Observable<java.util.Locale>get in interface ObservableValue<java.util.Locale>get in interface Property<java.util.Locale>public java.util.Locale set(java.util.Locale locale)
Propertypublic Disposable observe(Observer<? super java.util.Locale> observer)
Observableobserve in interface Observable<java.util.Locale>observer - an observer to addpublic Observable<ObservableValue.Change<java.util.Locale>> changes()
changes in interface ObservableValue<java.util.Locale>public void setProblem(java.lang.Throwable t)
setProblem in interface ObservableProperty<java.util.Locale>