|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dvb.user.Facility
A facility maps a preference's name to a single value or to an array of values. A facility enables an application to define the list of values supported for a specified preference. For example, if an application is available in English or French then it can create a Facility ("User Language", {"English", "French"}). When the application will retrieve the "User Language" from the general preference it will specify the associated facility in order to get a Preference which will contain a set a values compatible with those supported by the application.
Constructor Summary | |
Facility(java.lang.String preference,
java.lang.String value)
Creates a Facility with a single value. |
|
Facility(java.lang.String preference,
java.lang.String[] values)
Creates a Facility with a set of values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Facility(java.lang.String preference, java.lang.String value)
preference
- a String representing the name of the preference.value
- a String representing the value of the preference.public Facility(java.lang.String preference, java.lang.String[] values)
preference
- a String representing the name of the preference.values
- an array of String representing the set of values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |