Class DefaultLocalePair

  • All Implemented Interfaces:
    LocalePair

    public class DefaultLocalePair
    extends Object
    implements LocalePair
    A default locale pair.
    • Constructor Detail

      • DefaultLocalePair

        public DefaultLocalePair​(LocaleId source,
                                 LocaleId target)
    • Method Detail

      • source

        public LocaleId source()
        Description copied from interface: LocalePair
        Obtains the source locale.
        Specified by:
        source in interface LocalePair
        Returns:
        The source locale
      • target

        public LocaleId target()
        Description copied from interface: LocalePair
        Obtains the target locale.
        Specified by:
        target in interface LocalePair
        Returns:
        The target locale