public class LocalizedString extends Object
Constructor and Description |
---|
LocalizedString()
Constructor.
|
LocalizedString(String localString,
String language)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines if two LocalizedStrings are equal, that is, if both thier localized string and language have
case-sentivite equality.
|
String |
getLanguage()
Gets the language of the string.
|
String |
getLocalString()
Gets the localized string.
|
int |
hashCode() |
void |
setLanguage(String newLanguage)
Sets the language of the string.
|
void |
setLocalizedString(String newString)
Sets the localized string.
|
public String getLocalString()
public void setLocalizedString(String newString)
newString
- the localized stringpublic String getLanguage()
public void setLanguage(String newLanguage)
newLanguage
- the language of the stringpublic boolean equals(Object obj)
Copyright © 2018 JBoss by Red Hat. All rights reserved.