Class AbstractTranslationService

    • Method Detail

      • getDefaultCategory

        public java.lang.String getDefaultCategory()
        Description copied from interface: TranslationService
        Gets the default category.
        Specified by:
        getDefaultCategory in interface TranslationService
        Returns:
        Returns a the configured Default Category for this TranslationService instance
      • setDefaultCategory

        public void setDefaultCategory​(java.lang.String defaultCategory)
        Description copied from interface: TranslationService
        Sets the default category.
        Specified by:
        setDefaultCategory in interface TranslationService
        Parameters:
        defaultCategory - The string representing the category which will be set as the default. This is the value the TranslationService will use if no category is specified elsewhere.