|
Clearspace API (2.0.15) Web Services Client Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.webservices.WSLocale
public class WSLocale
Webservice object that contains locale information such as the country code and language code.
| Constructor Summary | |
|---|---|
WSLocale()
|
|
WSLocale(java.lang.String countryCode,
java.lang.String languageCode)
Creates a new instance of a Locale using the specified country code and language code. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getCountryCode()
Returns the country/region code for this locale, which will either be the empty string or an upercase ISO 3166 2-letter code. |
java.lang.String |
getLanguageCode()
Returns the language code for this locale, which will either be the empty string or a lowercase ISO 639 code. |
int |
hashCode()
|
void |
setCountryCode(java.lang.String countryCode)
Sets the country/region code for this locale, which will either be the empty string or an upercase ISO 3166 2-letter code. |
void |
setLanguageCode(java.lang.String languageCode)
Sets the language code for this locale, which will either be the empty string or a lowercase ISO 639 code. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WSLocale()
public WSLocale(java.lang.String countryCode,
java.lang.String languageCode)
countryCode - The country/region for this locale.languageCode - The language code for this locale.| Method Detail |
|---|
public java.lang.String getCountryCode()
public void setCountryCode(java.lang.String countryCode)
countryCode - the country code portion of the locale.public java.lang.String getLanguageCode()
public void setLanguageCode(java.lang.String languageCode)
languageCode - the language code for this locale.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||