Class CssEnumUtil

java.lang.Object
com.webfirmframework.wffweb.css.core.CssEnumUtil

public final class CssEnumUtil extends Object
A utility class for css enum classes.
Since:
1.0.0
  • Method Details

    • contains

      public static boolean contains(String cssValue, Collection<String> cssValues, int lowestLength, int highestLength)
      checks whether the given cssValues contains the given cssValue.
      Parameters:
      cssValue - the value to be checked.
      cssValues - the cssValue will be checked in this cssValues .
      lowestLength - the lowest length of the string contained in the given cssValues.
      highestLength - the highest length of the string contained in the given cssValues.
      Returns:
      true if the given cssValues contains the given cssValue, and the length of cssValue is not less than lowestLength and not greater than highestLength.
      Since:
      1.0.0