Class ContentStreamProcessor

java.lang.Object
org.sejda.sambox.contentstream.PDFStreamEngine
org.sejda.impl.sambox.component.ContentStreamProcessor
All Implemented Interfaces:
Consumer<org.sejda.sambox.pdmodel.PDPage>
Direct Known Subclasses:
ResourcesHitter

public class ContentStreamProcessor extends org.sejda.sambox.contentstream.PDFStreamEngine implements Consumer<org.sejda.sambox.pdmodel.PDPage>
Component that parses the page content steam and the page annotations appearance streams
Author:
Andrea Vacondio
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(org.sejda.sambox.pdmodel.PDPage page)
     

    Methods inherited from class org.sejda.sambox.contentstream.PDFStreamEngine

    addOperator, addOperatorIfAbsent, applyTextAdjustment, beginMarkedContentSequence, beginText, decreaseLevel, endMarkedContentSequence, endText, getAppearance, getCurrentPage, getGraphicsStackSize, getGraphicsState, getInitialMatrix, getLevel, getResources, getTextLineMatrix, getTextMatrix, increaseLevel, operatorException, processAnnotation, processChildStream, processOperator, processOperator, processPage, processSoftMask, processStream, processTilingPattern, processTilingPattern, processTransparencyGroup, processType3Stream, restoreGraphicsStack, restoreGraphicsState, saveGraphicsStack, saveGraphicsState, setLineDashPattern, setTextLineMatrix, setTextMatrix, showAnnotation, showFontGlyph, showForm, showGlyph, showText, showTextString, showTextStrings, showTransparencyGroup, showType3Glyph, transformedPoint, transformWidth, unsupportedOperator

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Consumer

    andThen
  • Constructor Details

    • ContentStreamProcessor

      public ContentStreamProcessor()
  • Method Details

    • accept

      public void accept(org.sejda.sambox.pdmodel.PDPage page)
      Specified by:
      accept in interface Consumer<org.sejda.sambox.pdmodel.PDPage>