public class CSSUtils extends Object
Modifier and Type | Field and Description |
---|---|
static List<String> |
LENGTH_UNITS
Length units (including percentage).
|
static Pattern |
RE_INTEGER
Matches if string is an integer value.
|
static Pattern |
RE_LENGTH
Split length into number and units.
|
static List<String> |
TEXT_ALIGN_VALUES
Text-align property values.
|
static List<String> |
VERTICAL_ALIGN_VALUES
Vertical-align property values.
|
Constructor and Description |
---|
CSSUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isValidLength(String s)
True if s is a valid css length (or percentage).
|
public static final List<String> VERTICAL_ALIGN_VALUES
public static final Pattern RE_LENGTH
public static final Pattern RE_INTEGER
public static boolean isValidLength(String s)