Package org.apache.pdfbox.pdmodel.font
Class FontMappers
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.font.FontMappers
-
public final class FontMappers extends java.lang.ObjectFontMapper factory class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classFontMappers.DefaultFontMapper
-
Field Summary
Fields Modifier and Type Field Description private static FontMapperinstance
-
Constructor Summary
Constructors Modifier Constructor Description privateFontMappers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FontMapperinstance()Returns the singleton FontMapper instance.static voidset(FontMapper fontMapper)Sets the singleton FontMapper instance.
-
-
-
Field Detail
-
instance
private static FontMapper instance
-
-
Method Detail
-
instance
public static FontMapper instance()
Returns the singleton FontMapper instance.- Returns:
- a singleton FontMapper instance
-
set
public static void set(FontMapper fontMapper)
Sets the singleton FontMapper instance.- Parameters:
fontMapper- the singleton FontMapper instance to be stored
-
-