public class StreamValidationProcess extends AbstractProcess
Constructor and Description |
---|
StreamValidationProcess() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkDictionaryEntries(PreflightContext context,
org.apache.pdfbox.cos.COSStream streamObj)
Check dictionary entries.
|
protected void |
checkFilters(org.apache.pdfbox.cos.COSStream stream,
PreflightContext context)
This method checks if one of declared Filter is LZWdecode.
|
void |
validate(PreflightContext ctx) |
void |
validateStreamObject(PreflightContext context,
org.apache.pdfbox.cos.COSBase cObj) |
addFontError, addValidationError, addValidationErrors
public void validate(PreflightContext ctx) throws ValidationException
ValidationException
public void validateStreamObject(PreflightContext context, org.apache.pdfbox.cos.COSBase cObj)
protected void checkFilters(org.apache.pdfbox.cos.COSStream stream, PreflightContext context)
stream
- the stream to check.context
- the preflight context.protected void checkDictionaryEntries(PreflightContext context, org.apache.pdfbox.cos.COSStream streamObj)
context
- the preflight context.streamObj
- the stream to check.Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.