Class ResourceReference.Key

    • Constructor Detail

      • Key

        public Key​(ResourceReference reference)
        Construct.
        Parameters:
        reference - resource reference
      • Key

        public Key​(String scope,
                   String name,
                   Locale locale,
                   String style,
                   String variation)
        Construct.
        Parameters:
        scope - resource scope
        name - resource name
        locale - resource locale
        style - resource style
        variation - resource variation
    • Method Detail

      • getScope

        public final String getScope()
        Gets scope.
        Returns:
        scope
      • getScopeClass

        public final Class<?> getScopeClass()
        Returns:
        Assuming scope ist a fully qualified class name, than get the associated class
      • getName

        public final String getName()
        Gets name.
        Returns:
        name
      • getLocale

        public final Locale getLocale()
        Gets locale.
        Returns:
        locale
      • getStyle

        public final String getStyle()
        Gets style.
        Returns:
        style
      • getVariation

        public final String getVariation()
        Gets variation.
        Returns:
        variation