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 ContentStreamException
StubOperator.createInvalidArgumentsError()
Create a ContentStreamException with ERROR_SYNTAX_CONTENT_STREAM_INVALID_ARGUMENT.private ContentStreamException
StubOperator.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 void
StubOperator.checkArrayOperands
(List<COSBase> arguments, int length) If the arguments list of Operator doesn't have Array parameter, this method throws a ContentStreamException.protected void
PreflightStreamEngine.checkColorOperators
(String operation) This method validates if the ColorOperator can be used with the color space defined in OutputIntent dictionaries.private void
StubOperator.checkNoOperands
(List<COSBase> arguments) If the arguments list of Operator isn't empty, this method throws a ContentStreamException.private void
StubOperator.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 void
StubOperator.checkStringOperands
(List<COSBase> arguments, int length) If the arguments list of Operator doesn't have String parameter, this method throws a ContentStreamException.private void
StubOperator.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) void
PreflightStreamEngine.validateDefaultColorSpace
(Operator operator) In some cases, the colorspace isn't checked because defaults (/DeviceGray) is used.protected void
PreflightStreamEngine.validateInlineImageFilter
(Operator operator) Throw a ContentStreamException if the LZW filter is used in a InlinedImage.protected void
PreflightStreamEngine.validateNumberOfGraphicStates
(Operator operator) Valid the number of graphic states if the operator is the Save Graphic state operator ("q")protected void
PreflightStreamEngine.validateRenderingIntent
(Operator operator, List<COSBase> arguments) Check operands of the "ri" operator.private boolean
PreflightStreamEngine.validColorSpace
(PDColorSpace colorSpace, PreflightStreamEngine.ColorSpaceType expectedIccType) private boolean
PreflightStreamEngine.validColorSpaceDestOutputProfile
(PreflightStreamEngine.ColorSpaceType expectedType)