Class TranslatorSpecification

    • Constructor Detail

      • TranslatorSpecification

        public TranslatorSpecification​(String locale,
                                       String mode)
        Creates a new translator specification with the supplied values.
        Parameters:
        locale - a locale as defined by IETF RFC 3066
        mode - a translator mode
        Throws:
        IllegalArgumentException - if null/empty values are inserted
      • TranslatorSpecification

        public TranslatorSpecification​(String locale,
                                       TranslatorMode mode)
        Creates a new translator specification with the supplied values.
        Parameters:
        locale - a locale as defined by IETF RFC 3066
        mode - a translator mode
        Throws:
        IllegalArgumentException - if null/empty values are inserted