Class FilterHandlers
java.lang.Object
com.itextpdf.text.pdf.FilterHandlers
Encapsulates filter behavior for PDF streams. Classes generally interace with this
using the static getDefaultFilterHandlers() method, then obtain the desired
FilterHandlers.FilterHandler
via a lookup.- Since:
- 5.0.4
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe main interface for creating a newFilterHandlers.FilterHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ByteArrayOutputStreamenableMemoryLimitsAwareHandler(PdfDictionary streamDictionary) Creates aMemoryLimitsAwareOutputStreamwhich will be used for decompression of the passed pdf stream.static Map<PdfName, FilterHandlers.FilterHandler>
-
Constructor Details
-
FilterHandlers
public FilterHandlers()
-
-
Method Details
-
getDefaultFilterHandlers
- Returns:
- the default
FilterHandlers.FilterHandlers used by iText
-
enableMemoryLimitsAwareHandler
Creates aMemoryLimitsAwareOutputStreamwhich will be used for decompression of the passed pdf stream.- Parameters:
streamDictionary- the pdf stream which is going to be decompressed.- Returns:
- the
ByteArrayOutputStreamwhich will be used for decompression of the passed pdf stream
-