io.rocketbase.commons.email.template.TableWidthUnit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of email-template-builder Show documentation
Show all versions of email-template-builder Show documentation
let this service generate your custom html/text emails
The newest version!
package io.rocketbase.commons.email.template;
public enum TableWidthUnit {
PIXEL(""), PERCENTAGE("%");
private String html;
TableWidthUnit(String html) {
this.html = html;
}
public String getHtmlValue(Integer value) {
if (value != null) {
return String.valueOf(value) + html;
}
return "";
}
}