## Uses of Class
org.apache.pdfbox.cos.COSStream

Packages that use COSStream
org.apache.pdfbox.cos: These are the low level objects that make up a PDF document.
org.apache.pdfbox.pdfparser: The pdfparser package contains classes to parse PDF documents and objects within the document.
org.apache.pdfbox.pdfwriter: This is the persistence layer used to write the PDFBox documents to a stream.
org.apache.pdfbox.pdmodel.common: High level PD classes that are used throughout several packages are placed in the PDModel common package.
org.apache.pdfbox.pdmodel.common.filespecification: The file specification package defines classes that are used for the PDF File Specification logic.
org.apache.pdfbox.pdmodel.encryption: The encryption package will handle the PDF document security handlers and the functionality of pluggable security handlers.
org.apache.pdfbox.pdmodel.fdf: The fdf package will handle all of the logic used for FDF objects inside of the PDF/FDF document.
org.apache.pdfbox.pdmodel.font: Classes to deal with font functionality in a PDF Document.
org.apache.pdfbox.pdmodel.graphics: The PDModel graphics package deals with graphics states, operations, and parameters within the PDF document.
org.apache.pdfbox.pdmodel.graphics.color: This package deals with colors that are stored in a PDF document.
org.apache.pdfbox.pdmodel.graphics.form: This package deals with Form XObjects that are stored in a PDF document.
org.apache.pdfbox.pdmodel.graphics.image: This package deals with images that are stored in a PDF document.
org.apache.pdfbox.pdmodel.interactive.action: This package represents actions that can be performed in a PDF document.
org.apache.pdfbox.pdmodel.interactive.annotation: The annotation package contains classes that work with PDF annotation elements.
org.apache.pdfbox.pdmodel.interactive.annotation.handlers

### Uses of COSStream in org.apache.pdfbox.cos

Methods in org.apache.pdfbox.cos that return COSStream
`COSStream` COSDocument.`createCOSStream()` Creates a new COSStream using the current configuration for scratch files.
`COSStream` COSDocument.`createCOSStream(COSDictionary dictionary)` Creates a new COSStream using the current configuration for scratch files.
`COSStream` 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 COSStream
`Object` ICOSVisitor.`visitFromStream(COSStream obj)` Notification of visit to stream object.

### Uses of COSStream in org.apache.pdfbox.pdfparser

Methods in org.apache.pdfbox.pdfparser that return COSStream
`COSStream` PDFXRefStream.`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.

Constructors in org.apache.pdfbox.pdfparser with parameters of type COSStream
Constructor and Description
`PDFObjectStreamParser(COSStream stream, COSDocument document)` Constructor.
`PDFStreamParser(COSStream stream)` Deprecated. Use `PDFStreamParser(PDContentStream)` instead.
`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
`Object` COSWriter.`visitFromStream(COSStream obj)`

### Uses of COSStream in org.apache.pdfbox.pdmodel.common

Methods in org.apache.pdfbox.pdmodel.common that return COSStream
`COSStream` PDStream.`getCOSObject()` Get the cos stream associated with this object.
`COSStream` PDStream.`getStream()` Deprecated. use `PDStream.getCOSObject()`

Constructors in org.apache.pdfbox.pdmodel.common with parameters of type COSStream
Constructor and Description
`PDMetadata(COSStream str)` Constructor.
`PDObjectStream(COSStream str)` Constructor.
`PDStream(COSStream str)` 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
Constructor and Description
`PDEmbeddedFile(COSStream str)`

### Uses of COSStream in org.apache.pdfbox.pdmodel.encryption

Methods in org.apache.pdfbox.pdmodel.encryption with parameters of type COSStream
`void` 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 COSStream
`COSStream` FDFDictionary.`getDifferences()` This will get the incremental updates since the PDF was last opened.

Methods in org.apache.pdfbox.pdmodel.fdf with parameters of type COSStream
`void` 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

Methods in org.apache.pdfbox.pdmodel.font that return COSStream
`COSStream` PDType3CharProc.`getCOSObject()`

Constructors in org.apache.pdfbox.pdmodel.font with parameters of type COSStream
Constructor and Description
`PDType3CharProc(PDType3Font font, COSStream charStream)`

### Uses of COSStream in org.apache.pdfbox.pdmodel.graphics

Methods in org.apache.pdfbox.pdmodel.graphics that return COSStream
`COSStream` PDXObject.`getCOSObject()` Returns the stream.
`COSStream` PDXObject.`getCOSStream()` Deprecated. use `PDXObject.getCOSObject()`

Constructors in org.apache.pdfbox.pdmodel.graphics with parameters of type COSStream
Constructor and Description
`PDPostScriptXObject(COSStream stream)` Creates a PostScript XObject.
`PDXObject(COSStream stream, COSName subtype)` 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 COSStream
`COSStream` PDOutputIntent.`getDestOutputIntent()`
`COSStream` 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 COSStream
`void` 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 COSStream
Constructor and Description
`PDFormXObject(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 with parameters of type COSStream
`static 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 COSStream
`COSStream` PDActionSound.`getSound()` Gets the sound object.

Methods in org.apache.pdfbox.pdmodel.interactive.action with parameters of type COSStream
`void` PDActionSound.`setSound(COSStream sound)` Sets the sound object.

### Uses of COSStream in org.apache.pdfbox.pdmodel.interactive.annotation

Constructors in org.apache.pdfbox.pdmodel.interactive.annotation with parameters of type COSStream
Constructor and Description
`PDAppearanceStream(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 COSStream
`protected COSStream` PDAbstractAppearanceHandler.`createCOSStream()`