public enum SupportedEmbeddedFontTypes extends Enum<SupportedEmbeddedFontTypes>
| Modifier and Type | Field and Description |
|---|---|
String |
extension |
String |
typeString |
| Modifier and Type | Method and Description |
|---|---|
static String |
getExtension(String uri) |
static boolean |
isSupported(String uri) |
static SupportedEmbeddedFontTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedEmbeddedFontTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedEmbeddedFontTypes OTF
public static final SupportedEmbeddedFontTypes TTF
public static SupportedEmbeddedFontTypes[] values()
for (SupportedEmbeddedFontTypes c : SupportedEmbeddedFontTypes.values()) System.out.println(c);
public static SupportedEmbeddedFontTypes valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static boolean isSupported(String uri)
Copyright © 2021. All rights reserved.