Class CssBackgroundUtils


  • public final class CssBackgroundUtils
    extends java.lang.Object
    Utilities class for CSS background parsing.
    • Constructor Detail

      • CssBackgroundUtils

        private CssBackgroundUtils()
        Creates a new CssBackgroundUtils instance.
    • Method Detail

      • getBackgroundPropertyNameFromType

        public static java.lang.String getBackgroundPropertyNameFromType​(CssBackgroundUtils.BackgroundPropertyType propertyType)
        Gets background property name corresponding to its type.
        Parameters:
        propertyType - background property type
        Returns:
        background property name
      • resolveBackgroundPropertyType

        public static CssBackgroundUtils.BackgroundPropertyType resolveBackgroundPropertyType​(java.lang.String value)
        Resolves the background property type using it's value.
        Parameters:
        value - the value
        Returns:
        the background property type value