public enum FontExtension extends Enum<FontExtension>
Enum Constant and Description |
---|
OTF
The .otf image file extension.
|
TTF
The .ttf file extension.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static FontExtension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontExtension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontExtension TTF
public static final FontExtension OTF
public static FontExtension[] values()
for (FontExtension c : FontExtension.values()) System.out.println(c);
public static FontExtension 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 String toString()
toString
in class Enum<FontExtension>
Copyright © 2011–2016 JRebirth OSS. All rights reserved.