Class 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 Detail

      • LocaleString

        public LocaleString​(Locale locale,
                            String value)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getLocale

        public Locale getLocale()
      • getValue

        public String getValue()
      • isEmpty

        public boolean isEmpty()
      • startsWith

        public boolean startsWith​(String prefix)
      • startsWith

        public boolean startsWith​(String prefix,
                                  int offset)
      • endsWith

        public boolean endsWith​(String prefix)