|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A class implementing the Nexus interface allows directory
information about a nexus to be accessed.
| Method Summary | |
java.util.Locale[] |
getAvailableLocales()
Returns an array of Locales that may be used to localize parameters. |
java.lang.String |
getDescription()
Returns the description of the Nexus This is equivalent to getProperty("description"), but returns "" rather than null if there is no description. |
java.util.Locale |
getLocale()
Returns the currently set Locale. |
java.lang.String |
getName()
Returns the short name of the Nexus. |
java.lang.String |
getProperty(java.lang.String name)
Returns the value of a Nexus's information property as a String in the current Locale, or null if the property does not exist. |
java.util.Map |
getPropertyMap()
Returns a java.util.Map of the properties for this Nexus in the current Locale. |
java.util.Enumeration |
getPropertyNames()
Returns an Enumeration of String objects containing the names of the properties for this Nexus. |
java.lang.String[] |
getPropertyValues(java.lang.String name)
Returns an array of String objects containing all of the values the given Nexus's property has in the current Locale, or null if the property does not exist. |
java.lang.String |
getTitle()
Returns the title of the Nexus (a one line description) This is equivalent to getProperty("title"), but returns "" rather than null if there is no title. |
void |
setLocale(java.util.Locale locale)
Sets the current Locale to be used in parameter returns for this Nexus. |
| Method Detail |
public java.util.Locale[] getAvailableLocales()
public void setLocale(java.util.Locale locale)
locale - the desired LocalegetLocale()public java.util.Locale getLocale()
setLocale(java.util.Locale)public java.lang.String getProperty(java.lang.String name)
name - -
a String specifying the name of the property
getPropertyValues(java.lang.String)public java.lang.String[] getPropertyValues(java.lang.String name)
name - -
a String containing the name of the property whose value is
requested
getProperty(java.lang.String)public java.util.Map getPropertyMap()
public java.util.Enumeration getPropertyNames()
public java.lang.String getName()
public java.lang.String getTitle()
public java.lang.String getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||