Uses of Class
org.apache.pdfbox.preflight.content.ContentStreamException
Packages that use ContentStreamException
-
Uses of ContentStreamException in org.apache.pdfbox.preflight.content
Methods in org.apache.pdfbox.preflight.content that return ContentStreamExceptionModifier and TypeMethodDescriptionprivate ContentStreamExceptionStubOperator.createInvalidArgumentsError()Create a ContentStreamException with ERROR_SYNTAX_CONTENT_STREAM_INVALID_ARGUMENT.private ContentStreamExceptionStubOperator.createLimitError(String errorCode, String details) Create a ContentStreamException with ERROR_SYNTAX_CONTENT_STREAM_INVALID_ARGUMENT.Methods in org.apache.pdfbox.preflight.content that throw ContentStreamExceptionModifier and TypeMethodDescriptionprivate voidStubOperator.checkArrayOperands(List<COSBase> arguments, int length) If the arguments list of Operator doesn't have Array parameter, this method throws a ContentStreamException.protected voidPreflightStreamEngine.checkColorOperators(String operation) This method validates if the ColorOperator can be used with the color space defined in OutputIntent dictionaries.private voidStubOperator.checkNoOperands(List<COSBase> arguments) If the arguments list of Operator isn't empty, this method throws a ContentStreamException.private voidStubOperator.checkNumberOperands(List<COSBase> arguments, int length) If the arguments list of Operator doesn't have Number parameters (Int, float...), this method throws a ContentStreamException.private voidStubOperator.checkStringOperands(List<COSBase> arguments, int length) If the arguments list of Operator doesn't have String parameter, this method throws a ContentStreamException.private voidStubOperator.checkTagAndPropertyOperands(List<COSBase> arguments) The given arguments list is valid only if the first argument is a Tag (A String) and if the second argument is a String or a Dictionary(package private) voidPreflightStreamEngine.validateDefaultColorSpace(Operator operator) In some cases, the colorspace isn't checked because defaults (/DeviceGray) is used.protected voidPreflightStreamEngine.validateInlineImageFilter(Operator operator) Throw a ContentStreamException if the LZW filter is used in a InlinedImage.protected voidPreflightStreamEngine.validateNumberOfGraphicStates(Operator operator) Valid the number of graphic states if the operator is the Save Graphic state operator ("q")protected voidPreflightStreamEngine.validateRenderingIntent(Operator operator, List<COSBase> arguments) Check operands of the "ri" operator.private booleanPreflightStreamEngine.validColorSpace(PDColorSpace colorSpace, PreflightStreamEngine.ColorSpaceType expectedIccType) private booleanPreflightStreamEngine.validColorSpaceDestOutputProfile(PreflightStreamEngine.ColorSpaceType expectedType)