Java org.apache.pdfbox.cos COSStream fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.cos COSStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.cos COSStream.

The text is from its open source code.

Constructor

COSStream(ScratchFile scratchFile)
Creates a new stream with an empty dictionary.
COSStream()
Creates a new stream with an empty dictionary.

Method

booleancontainsKey(COSName name)
OutputStreamcreateOutputStream(COSBase filters)
Returns a new OutputStream for writing stream data, using and the given filters.
OutputStreamcreateOutputStream()
Returns a new OutputStream for writing stream data, using the current filters.
COSBasegetDictionaryObject(String key)
This will get an object from this dictionary.
COSBasegetFilters()
This will return the filters to apply to the byte stream.
intgetInt(String key)
This is a convenience method that will get the dictionary object that is expected to be an int.
COSBasegetItem(COSName key)
This will do a lookup into the dictionary.
StringgetNameAsString(String key)
This is a convenience method that will get the dictionary object that is expected to be a name and convert it to a string.
voidremoveItem(COSName key)
This will remove an item for the dictionary.
voidsetItem(COSName key, COSBase value)
This will set an item in the dictionary.