Package com.tom_roush.pdfbox.android
Enum PDFBoxConfig.FontLoadLevel
- java.lang.Object
-
- java.lang.Enum<PDFBoxConfig.FontLoadLevel>
-
- com.tom_roush.pdfbox.android.PDFBoxConfig.FontLoadLevel
-
- All Implemented Interfaces:
Serializable,Comparable<PDFBoxConfig.FontLoadLevel>
- Enclosing class:
- PDFBoxConfig
public static enum PDFBoxConfig.FontLoadLevel extends Enum<PDFBoxConfig.FontLoadLevel>
Enum to represent what fonts PDFBox should attempt to load
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PDFBoxConfig.FontLoadLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static PDFBoxConfig.FontLoadLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL
public static final PDFBoxConfig.FontLoadLevel FULL
Load and process all available fonts
-
MINIMUM
public static final PDFBoxConfig.FontLoadLevel MINIMUM
Load and process only the minimum fonts required to maintain functionality
-
NONE
public static final PDFBoxConfig.FontLoadLevel NONE
Do not load any fonts (May cause crashes)
-
-
Method Detail
-
values
public static PDFBoxConfig.FontLoadLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PDFBoxConfig.FontLoadLevel c : PDFBoxConfig.FontLoadLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PDFBoxConfig.FontLoadLevel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-