- java.lang.Object
-
- com.aoapps.lang.i18n.LocaleString
-
public class LocaleString extends Object
Associates a locale with a string. This is useful to manipulate or represent the string in a locale specific manner.- Author:
- AO Industries, Inc.
-
-
Constructor Summary
Constructors Constructor Description LocaleString(Locale locale, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanendsWith(String prefix)booleanequals(Object obj)LocalegetLocale()StringgetValue()inthashCode()booleanisEmpty()booleanstartsWith(String prefix)booleanstartsWith(String prefix, int offset)LocaleStringtoLowerCase()StringtoString()LocaleStringtoUpperCase()LocaleStringtrim()
-
-
-
Method Detail
-
getLocale
public Locale getLocale()
-
getValue
public String getValue()
-
toLowerCase
public LocaleString toLowerCase()
-
toUpperCase
public LocaleString toUpperCase()
-
trim
public LocaleString trim()
-
isEmpty
public boolean isEmpty()
-
startsWith
public boolean startsWith(String prefix)
-
startsWith
public boolean startsWith(String prefix, int offset)
-
endsWith
public boolean endsWith(String prefix)
-
-