Class Parameters

  • All Implemented Interfaces:
    Cloneable, IParameters

    public class Parameters
    extends StringParameters
    Use cases (let's take sr-Cyrl to sr-Latn transliteration)
    • take the source and "translate" (transliterate) it into target
      (source locale should be sr-Cyrl, target locale should be sr-Latn)
    • take an existing target and convert in place (but then the target locale is wrong, or was wrong)
      (source locale could be anything, a sr-Cyrl (or sr-Latn?) target should already exist)
    • take an existing target and create a new target with a new locale
      (source locale could be anything, a sr-Cyrl target locale should already exist)
      • override new target locale (sr-Latn) if it exists already (boolean)
      • remove / keep the original target locale (sr-Cyrl)
    • Constructor Detail

      • Parameters

        public Parameters()
    • Method Detail

      • getIcuTransliteratorId

        public String getIcuTransliteratorId()
      • getFromTargetLocale

        public LocaleId getFromTargetLocale()
      • getToTargetLocale

        public LocaleId getToTargetLocale()
      • setIcuTransliteratorId

        public boolean setIcuTransliteratorId​(String icuTransliteratorId)
      • setFromTargetLocale

        public void setFromTargetLocale​(LocaleId fromTargetLocale)
      • setToTargetLocale

        public void setToTargetLocale​(LocaleId toTargetLocale)
      • isValid

        public boolean isValid()