Package org.apache.pdfbox.preflight.font
Class FontValidator<T extends FontContainer>
- java.lang.Object
-
- org.apache.pdfbox.preflight.font.FontValidator<T>
-
- Direct Known Subclasses:
SimpleFontValidator
,Type0FontValidator
,Type3FontValidator
public abstract class FontValidator<T extends FontContainer> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected PreflightContext
context
protected FontDescriptorHelper<T>
descriptorHelper
protected T
fontContainer
-
Constructor Summary
Constructors Constructor Description FontValidator(PreflightContext context, COSDictionary dict, T fContainer)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
checkEncoding()
protected void
checkToUnicode()
T
getFontContainer()
abstract void
validate()
-
-
-
Field Detail
-
fontContainer
protected T extends FontContainer fontContainer
-
context
protected PreflightContext context
-
descriptorHelper
protected FontDescriptorHelper<T extends FontContainer> descriptorHelper
-
-
Constructor Detail
-
FontValidator
public FontValidator(PreflightContext context, COSDictionary dict, T fContainer)
-
-
Method Detail
-
validate
public abstract void validate() throws ValidationException
- Throws:
ValidationException
-
checkEncoding
protected void checkEncoding()
-
checkToUnicode
protected void checkToUnicode()
-
getFontContainer
public T getFontContainer()
-
-