|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.artima.place.info.InfoBundle
A bundle of localizable information objects.
| Constructor Summary | |
InfoBundle(java.util.Set infoSet)
Constructs a new InfoBundle with passed info object set. |
|
| Method Summary | |
java.lang.Object |
clone()
Clones this InfoBundle. |
boolean |
equals(java.lang.Object o)
Compares this InfoBundle to the passed object for
equality. |
java.util.Set |
getInfoSet()
Returns a Set of info objects which provide localizable
information suitable for presentation to users. |
int |
hashCode()
Returns a hash code for this object. |
void |
purge()
Purge away information about undesired locales. |
void |
purge(java.util.Locale preserveLocale)
Purge away information about all locales except the passed desired locale. |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InfoBundle(java.util.Set infoSet)
InfoBundle with passed info object set.
The passed Set will not be used as part of the state of
this newly constructed object. Rather its contents will be used to
initialize an unmodifiable Set that will be returned
by getInfoSet.
infoSet - a Set (which may be empty) of info
objects| Method Detail |
public java.util.Set getInfoSet()
Set of info objects which provide localizable
information suitable for presentation to users.public void purge()
purge() on each Purgable object in
its info set.purge in interface Purgablepublic void purge(java.util.Locale preserveLocale)
purge(Locale) on each
Purgable object in its info set, passing to
purge(Locale) the desiredLocale passed to
this method.purge in interface PurgablepreserveLocale - a locale to preserve in this
InfoBundle.public boolean equals(java.lang.Object o)
InfoBundle to the passed object for
equality. To be semantically equal, the class of the passed object
must be InfoBundle and the passed object's info set must
be semantically to this object's info set.equals in class java.lang.ObjectAn - object to compare to this InfoBundletrue if this InfoBundle is
semantically equal to the passed InfoBundlepublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object clone()
InfoBundle. This method performs a shallow
copy of the contained info set.clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||