Package com.tom_roush.pdfbox.android
Class PDFBoxConfig
- java.lang.Object
-
- com.tom_roush.pdfbox.android.PDFBoxConfig
-
public class PDFBoxConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPDFBoxConfig.FontLoadLevelEnum to represent what fonts PDFBox should attempt to load
-
Field Summary
Fields Modifier and Type Field Description static PDFBoxConfig.FontLoadLevelFONT_LOAD_LEVELOption to disable searching the file system for fonts (Speeds up startup if fonts not needed)
-
Constructor Summary
Constructors Constructor Description PDFBoxConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PDFBoxConfig.FontLoadLevelgetFontLoadLevel()static booleanisDebugEnabled()static voidsetDebugLoggingEnabled(boolean debugLoggingEnabled)static voidsetFontLoadLevel(PDFBoxConfig.FontLoadLevel fontLoadLevel)
-
-
-
Field Detail
-
FONT_LOAD_LEVEL
public static PDFBoxConfig.FontLoadLevel FONT_LOAD_LEVEL
Option to disable searching the file system for fonts (Speeds up startup if fonts not needed)
-
-
Method Detail
-
getFontLoadLevel
public static PDFBoxConfig.FontLoadLevel getFontLoadLevel()
- Returns:
- the current FontLoadLevel
-
setFontLoadLevel
public static void setFontLoadLevel(PDFBoxConfig.FontLoadLevel fontLoadLevel)
- Parameters:
fontLoadLevel- the new FontLoadLevel to use when loading fonts
-
setDebugLoggingEnabled
public static void setDebugLoggingEnabled(boolean debugLoggingEnabled)
- Parameters:
debugLoggingEnabled- sets whether debug logging is enabled for PdfBox-Android
-
isDebugEnabled
public static boolean isDebugEnabled()
- Returns:
- whether debug logging is enabled for PdfBox-Android
-
-