String[] token = encodedSizes.split("\\s*,\\s*");
int tokenCount = token.length;
checkArgument(token.length == 4,
"The border requires 4 sizes, but \"" + encodedSizes +
"\" has " + tokenCount + ".");
ConstantSize top = Sizes.constant(token[0], false);
ConstantSize left = Sizes.constant(token[1], true);
ConstantSize bottom = Sizes.constant(token[2], false);
ConstantSize right = Sizes.constant(token[3], true);
return createEmptyBorder(top, left, bottom, right);
}