|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dvb.user.Preference
org.dvb.user.GeneralPreference
This class defines a set of general preferences. These preferences
are read from the receiver and each application (downloaded or not)
can access them through the UserPreferenceManager.read
method. The
standardized preferences are "User Language", "Parental Rating",
"User Name", "User Address", "User @", "Country Code", "Default Font Size".
When constructed, objects of this class are empty and have no values
defined. Values may be added using the add methods inherited from the
Preference class or by calling UserPreferenceManager.read
.
The encodings of these standardized preferences are as follows.
javax.tv.service.guide.ContentRatingAdvisory.getDisplayText
;
The standardized preference names in the present document shall only use such letters where the upper and lower case characters are recognized by the "EN.UK" locale.
Constructor Summary | |
GeneralPreference(java.lang.String name)
Constructs a GeneralPreference object. |
Methods inherited from class org.dvb.user.Preference |
add, add, add, getFavourites, getMostFavourite, getName, getPosition, hasValue, remove, removeAll, setMostFavourite, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GeneralPreference(java.lang.String name) throws java.lang.IllegalArgumentException
name
- the general preference name.
java.lang.IllegalArgumentException
- if the preference's name is not
supported.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |