|
Jive Forums API (5.5.20.2-oracle) Web Services Client Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.webservices.Locale
public class Locale
Webservice object that contains locale information such as the country code and language code.
Constructor Summary | |
---|---|
Locale()
|
|
Locale(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 Locale()
public Locale(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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |