kz.greetgo.msoffice.xlsx.reader.model.HorizontalAlign Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of greetgo.msoffice Show documentation
Show all versions of greetgo.msoffice Show documentation
greetgo library to generate or parse MS Office files
package kz.greetgo.msoffice.xlsx.reader.model;
public enum HorizontalAlign {
left, center, right, general;
public static HorizontalAlign valueOrNull(String str) {
if (str == null) return null;
for (HorizontalAlign value : values()) {
if (value.name().equals(str)) return value;
}
throw new IllegalArgumentException("Unknown name `" + str + "` of " + HorizontalAlign.class.getSimpleName());
}
}