Uses of Class
org.apache.pdfbox.cos.COSStream
Packages that use COSStream
Package
Description
These are the low level objects that make up a PDF document.
The pdfparser package contains classes to parse PDF documents and objects within the document.
This is the persistence layer used to write the PDFBox documents to a stream.
High level PD classes that are used throughout several packages are placed in the PDModel common package.
The file specification package defines classes that are used for the PDF File Specification logic.
The encryption package will handle the PDF document security handlers and the functionality of pluggable security handlers.
The fdf package will handle all of the logic used for FDF objects inside of the PDF/FDF document.
Classes to deal with font functionality in a PDF Document.
The PDModel graphics package deals with graphics states, operations, and parameters within the PDF document.
This package deals with colors that are stored in a PDF document.
This package deals with Form XObjects that are stored in a PDF document.
This package deals with images that are stored in a PDF document.
This package represents actions that can be performed in a PDF document.
The annotation package contains classes that work with PDF annotation elements.
-
Uses of COSStream in org.apache.pdfbox.cos
Fields in org.apache.pdfbox.cos with type parameters of type COSStreamModifier and TypeFieldDescriptionCOSDocument.streams
List containing all streams which are created when creating a new pdf.Methods in org.apache.pdfbox.cos that return COSStreamModifier and TypeMethodDescriptionCOSDocument.createCOSStream()
Creates a new COSStream using the current configuration for scratch files.COSDocument.createCOSStream
(COSDictionary dictionary) Creates a new COSStream using the current configuration for scratch files.COSDictionary.getCOSStream
(COSName key) This is a convenience method that will get the dictionary object that is expected to be a COSStream.Methods in org.apache.pdfbox.cos with parameters of type COSStreamModifier and TypeMethodDescriptionICOSVisitor.visitFromStream
(COSStream obj) Notification of visit to stream object. -
Uses of COSStream in org.apache.pdfbox.debugger
Methods in org.apache.pdfbox.debugger with parameters of type COSStreamModifier and TypeMethodDescriptionprivate void
PDFDebugger.showStream
(COSStream stream, TreePath path) -
Uses of COSStream in org.apache.pdfbox.debugger.streampane
Fields in org.apache.pdfbox.debugger.streampane declared as COSStreamMethods in org.apache.pdfbox.debugger.streampane with parameters of type COSStreamConstructors in org.apache.pdfbox.debugger.streampane with parameters of type COSStreamModifierConstructorDescription(package private)
Constructor.StreamPane
(COSStream cosStream, boolean isContentStream, boolean isThumb, COSDictionary resourcesDic) Constructor. -
Uses of COSStream in org.apache.pdfbox.debugger.ui
Methods in org.apache.pdfbox.debugger.ui with parameters of type COSStreamModifier and TypeMethodDescriptionprivate String
Tree.getFileExtensionForStream
(COSStream cosStream, TreePath nodePath) Returns the recommended file extension for the given cos stream.private JMenuItem
Tree.getFileOpenMenu
(COSStream cosStream, TreePath nodePath) Produce JMenuItem that opens the stream with the system's default app.private String
Tree.getFilters
(COSStream cosStream) Returns the filters used by the given stream.Tree.getPartiallyDecodedStreamSaveMenu
(COSStream cosStream) produce possible partially decoded stream saving menu itemsprivate JMenuItem
Tree.getRawStreamSaveMenu
(COSStream cosStream) Produce JMenuItem that saves the raw streamprivate JMenuItem
Tree.getStreamSaveMenu
(COSStream cosStream, TreePath nodePath) Produce JMenuItem that saves the stream -
Uses of COSStream in org.apache.pdfbox.multipdf
Fields in org.apache.pdfbox.multipdf declared as COSStreamMethods in org.apache.pdfbox.multipdf that return COSStreamModifier and TypeMethodDescriptionprivate COSStream
Overlay.createCombinedContentStream
(COSBase contents) private COSStream
Overlay.createOverlayStream
(PDPage page, Overlay.LayoutPage layoutPage, COSName xObjectId) private COSStream
Overlay.createStream
(String content) Methods in org.apache.pdfbox.multipdf that return types with arguments of type COSStreamConstructors in org.apache.pdfbox.multipdf with parameters of type COSStreamModifierConstructorDescriptionprivate
LayoutPage
(PDRectangle mediaBox, COSStream contentStream, COSDictionary resources, short rotation) -
Uses of COSStream in org.apache.pdfbox.pdfparser
Fields in org.apache.pdfbox.pdfparser declared as COSStreamMethods in org.apache.pdfbox.pdfparser that return COSStreamModifier and TypeMethodDescriptionPDFXRefStream.getStream()
Returns the stream of the XRef.protected COSStream
COSParser.parseCOSStream
(COSDictionary dic) This will read a COSStream from the input stream using length attribute within dictionary.Methods in org.apache.pdfbox.pdfparser with parameters of type COSStreamModifier and TypeMethodDescriptionprivate void
PDFXrefStreamParser.initParserValues
(COSStream stream) private void
COSParser.parseXrefStream
(COSStream stream, long objByteOffset, boolean isStandalone) Fills XRefTrailerResolver with data of given stream.Constructors in org.apache.pdfbox.pdfparser with parameters of type COSStreamModifierConstructorDescriptionPDFObjectStreamParser
(COSStream stream, COSDocument document) Constructor.PDFStreamParser
(COSStream stream) Deprecated.PDFXrefStreamParser
(COSStream stream, COSDocument document, XrefTrailerResolver resolver) Constructor. -
Uses of COSStream in org.apache.pdfbox.pdfwriter
Methods in org.apache.pdfbox.pdfwriter with parameters of type COSStream -
Uses of COSStream in org.apache.pdfbox.pdmodel.common
Fields in org.apache.pdfbox.pdmodel.common declared as COSStreamMethods in org.apache.pdfbox.pdmodel.common that return COSStreamModifier and TypeMethodDescriptionPDStream.getCOSObject()
Get the cos stream associated with this object.PDStream.getStream()
Deprecated.Constructors in org.apache.pdfbox.pdmodel.common with parameters of type COSStreamModifierConstructorDescriptionPDMetadata
(COSStream str) Constructor.PDObjectStream
(COSStream str) Constructor.Creates a PDStream which wraps the given COSStream. -
Uses of COSStream in org.apache.pdfbox.pdmodel.common.filespecification
Constructors in org.apache.pdfbox.pdmodel.common.filespecification with parameters of type COSStream -
Uses of COSStream in org.apache.pdfbox.pdmodel.encryption
Methods in org.apache.pdfbox.pdmodel.encryption with parameters of type COSStreamModifier and TypeMethodDescriptionvoid
SecurityHandler.decryptStream
(COSStream stream, long objNum, long genNum) This will decrypt a stream.void
SecurityHandler.encryptStream
(COSStream stream, long objNum, int genNum) This will encrypt a stream, but not the dictionary as the dictionary is encrypted by visitFromString() in COSWriter and we don't want to encrypt it twice. -
Uses of COSStream in org.apache.pdfbox.pdmodel.fdf
Methods in org.apache.pdfbox.pdmodel.fdf that return COSStreamModifier and TypeMethodDescriptionFDFDictionary.getDifferences()
This will get the incremental updates since the PDF was last opened.private COSStream
FDFAnnotationStamp.parseStreamElement
(Element streamEl) Methods in org.apache.pdfbox.pdmodel.fdf with parameters of type COSStreamModifier and TypeMethodDescriptionvoid
FDFDictionary.setDifferences
(COSStream diff) This will set the differences stream.void
FDFField.setRichText
(COSStream rv) This will set the rich text value. -
Uses of COSStream in org.apache.pdfbox.pdmodel.font
Fields in org.apache.pdfbox.pdmodel.font declared as COSStreamMethods in org.apache.pdfbox.pdmodel.font that return COSStreamConstructors in org.apache.pdfbox.pdmodel.font with parameters of type COSStream -
Uses of COSStream in org.apache.pdfbox.pdmodel.graphics
Methods in org.apache.pdfbox.pdmodel.graphics that return COSStreamModifier and TypeMethodDescriptionfinal COSStream
PDXObject.getCOSObject()
Returns the stream.final COSStream
PDXObject.getCOSStream()
Deprecated.Constructors in org.apache.pdfbox.pdmodel.graphics with parameters of type COSStreamModifierConstructorDescriptionPDPostScriptXObject
(COSStream stream) Creates a PostScript XObject.protected
Creates a new XObject from the given stream and subtype. -
Uses of COSStream in org.apache.pdfbox.pdmodel.graphics.color
Methods in org.apache.pdfbox.pdmodel.graphics.color that return COSStreamModifier and TypeMethodDescriptionPDOutputIntent.getDestOutputIntent()
PDICCBased.getMetadata()
Returns the metadata stream for this object, or null if there is no metadata stream.Methods in org.apache.pdfbox.pdmodel.graphics.color with parameters of type COSStreamModifier and TypeMethodDescriptionvoid
PDICCBased.setMetadata
(COSStream metadata) Sets the metadata stream that is associated with this color space. -
Uses of COSStream in org.apache.pdfbox.pdmodel.graphics.form
Constructors in org.apache.pdfbox.pdmodel.graphics.form with parameters of type COSStreamModifierConstructorDescriptionPDFormXObject
(COSStream stream) Creates a Form XObject for reading.PDFormXObject
(COSStream stream, ResourceCache cache) Creates a Form XObject for reading.PDTransparencyGroup
(COSStream stream, ResourceCache cache) Creates a Transparency Group for reading. -
Uses of COSStream in org.apache.pdfbox.pdmodel.graphics.image
Methods in org.apache.pdfbox.pdmodel.graphics.image that return COSStreamModifier and TypeMethodDescriptionprivate static COSStream
PNGConverter.createCOSStreamwithIccProfile
(PDDocument document, PDColorSpace colorSpace, PNGConverter.PNGConverterState state) private static COSStream
PDImageXObject.createRawStream
(PDDocument document, InputStream rawInput) Creates a COS stream from raw (encoded) data.Methods in org.apache.pdfbox.pdmodel.graphics.image with parameters of type COSStreamModifier and TypeMethodDescriptionstatic PDImageXObject
PDImageXObject.createThumbnail
(COSStream cosStream) Creates a thumbnail Image XObject from the given COSBase and name. -
Uses of COSStream in org.apache.pdfbox.pdmodel.interactive.action
Methods in org.apache.pdfbox.pdmodel.interactive.action that return COSStreamMethods in org.apache.pdfbox.pdmodel.interactive.action with parameters of type COSStream -
Uses of COSStream in org.apache.pdfbox.pdmodel.interactive.annotation
Constructors in org.apache.pdfbox.pdmodel.interactive.annotation with parameters of type COSStreamModifierConstructorDescriptionPDAppearanceStream
(COSStream stream) Creates a Form XObject for reading. -
Uses of COSStream in org.apache.pdfbox.pdmodel.interactive.annotation.handlers
Methods in org.apache.pdfbox.pdmodel.interactive.annotation.handlers that return COSStreamModifier and TypeMethodDescriptionprotected COSStream
PDAbstractAppearanceHandler.createCOSStream()
-
Uses of COSStream in org.apache.pdfbox.preflight.font
Methods in org.apache.pdfbox.preflight.font with parameters of type COSStreamModifier and TypeMethodDescriptionprivate void
Type0FontValidator.processCMapAsStream
(COSStream aCMap) This method checks mandatory fields of the CMap stream. -
Uses of COSStream in org.apache.pdfbox.preflight.graphic
Methods in org.apache.pdfbox.preflight.graphic with parameters of type COSStreamModifier and TypeMethodDescriptionprivate boolean
StandardColorSpaceHelper.validateICCProfileNEntry
(COSStream stream, ICC_Profile iccp) -
Uses of COSStream in org.apache.pdfbox.preflight.parser
Methods in org.apache.pdfbox.preflight.parser that return COSStreamModifier and TypeMethodDescriptionprotected COSStream
PreflightParser.parseCOSStream
(COSDictionary dic) Wraps theCOSParser.parseCOSStream(org.apache.pdfbox.cos.COSDictionary)
to check rules on 'stream' and 'endstream' keywords. -
Uses of COSStream in org.apache.pdfbox.preflight.process
Methods in org.apache.pdfbox.preflight.process with parameters of type COSStreamModifier and TypeMethodDescriptionprotected void
StreamValidationProcess.checkDictionaryEntries
(PreflightContext context, COSStream streamObj) Check dictionary entries.protected void
StreamValidationProcess.checkFilters
(COSStream stream, PreflightContext context) This method checks if one of declared Filter is LZWdecode. -
Uses of COSStream in org.apache.pdfbox.preflight.utils
Methods in org.apache.pdfbox.preflight.utils that return COSStreamModifier and TypeMethodDescriptionstatic COSStream
COSUtils.getAsStream
(COSBase cbase, COSDocument cDoc) Return the COSBase object as COSStream if the COSBase object is an instance of COSStream or a reference to a COSStream object. -
Uses of COSStream in org.apache.pdfbox.preflight.xobject
Fields in org.apache.pdfbox.preflight.xobject declared as COSStreamModifier and TypeFieldDescriptionprotected COSStream
AbstractXObjValidator.xobject
The XObject to validate as a COSStream.Constructors in org.apache.pdfbox.preflight.xobject with parameters of type COSStream -
Uses of COSStream in org.apache.pdfbox.tools
Fields in org.apache.pdfbox.tools with type parameters of type COSStream
PDFStreamParser(PDContentStream)
instead.