Class ModuleResourceAccessImpl

java.lang.Object
de.hybris.platform.sap.core.module.impl.ModuleResourceAccessImpl
All Implemented Interfaces:
ModuleResourceAccess

public class ModuleResourceAccessImpl extends Object implements ModuleResourceAccess
Class to which implements interface ModuleResourceAccess.
  • Constructor Details

    • ModuleResourceAccessImpl

      public ModuleResourceAccessImpl()
  • Method Details

    • setL10nService

      public void setL10nService(de.hybris.platform.servicelayer.i18n.L10NService l10nService)
      Injection setter for l10n service.
      Parameters:
      l10nService - the l10nService to set
    • getString

      public String getString(String resourceKey)
      Description copied from interface: ModuleResourceAccess
      Translate the given key with the standard locale.
      Specified by:
      getString in interface ModuleResourceAccess
      Parameters:
      resourceKey - resource key
      Returns:
      translated resource string
    • getString

      public String getString(String resourceKey, Locale locale)
      Description copied from interface: ModuleResourceAccess
      Translate the given key with the given locale.
      Specified by:
      getString in interface ModuleResourceAccess
      Parameters:
      resourceKey - resource key
      locale - locale
      Returns:
      translated resource string
    • getString

      public String getString(String resourceKey, Object[] args)
      Description copied from interface: ModuleResourceAccess
      Translate the given key with the default Locale replacing the passed arguments.
      Specified by:
      getString in interface ModuleResourceAccess
      Parameters:
      resourceKey - resource key
      args - arguments
      Returns:
      translated resource string
    • getString

      public String getString(String resourceKey, Locale locale, Object[] args)
      Description copied from interface: ModuleResourceAccess
      Translate the given key with the given locale replacing the passed arguments.
      Specified by:
      getString in interface ModuleResourceAccess
      Parameters:
      resourceKey - resource key
      locale - locale
      args - arguments
      Returns:
      translated resource string