Package com.dropbox.core
Class LocalizedText
- java.lang.Object
- 
- com.dropbox.core.LocalizedText
 
- 
 public final class LocalizedText extends java.lang.ObjectHuman-readable text localized to a specific locale.
- 
- 
Constructor SummaryConstructors Constructor Description LocalizedText(java.lang.String text, java.lang.String locale)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLocale()Returns locale of the text in IETF BCP 47 language tag format.java.lang.StringgetText()Returns the localized, human-readable text.java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
getTextpublic java.lang.String getText() Returns the localized, human-readable text.- Returns:
- localized, human-readable text, never null
 
 - 
getLocalepublic java.lang.String getLocale() Returns locale of the text in IETF BCP 47 language tag format.- Returns:
- locale of text in IETF BCP 47 language tag format, never null
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-