Interface LocalePreference

  • All Superinterfaces:
    java.lang.Iterable<java.util.Locale>

    public interface LocalePreference
    extends java.lang.Iterable<java.util.Locale>
    Represents a user's preferred language, ordered from most to least preferred
    Author:
    cdivilly
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Locale firstPreference()
      The most preferred locale
      • Methods inherited from interface java.lang.Iterable

        forEach, iterator, spliterator
    • Method Detail

      • firstPreference

        java.util.Locale firstPreference()
        The most preferred locale
        Returns:
        Locale instance