Package com.itextpdf.kernel.pdf
Class MemoryLimitsAwareFilter
java.lang.Object
com.itextpdf.kernel.pdf.MemoryLimitsAwareFilter
- All Implemented Interfaces:
-
IFilterHandler
- Direct Known Subclasses:
-
ASCII85DecodeFilter
,ASCIIHexDecodeFilter
,FlateDecodeFilter
,LZWDecodeFilter
,RunLengthDecodeFilter
Handles memory limits aware processing.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenableMemoryLimitsAwareHandler
(PdfDictionary streamDictionary) Creates aMemoryLimitsAwareOutputStream
which will be used for decompression of the passed pdf stream.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.itextpdf.kernel.pdf.filters.IFilterHandler
decode
-
Constructor Details
-
MemoryLimitsAwareFilter
public MemoryLimitsAwareFilter()
-
-
Method Details
-
enableMemoryLimitsAwareHandler
Creates aMemoryLimitsAwareOutputStream
which will be used for decompression of the passed pdf stream.- Parameters:
-
streamDictionary
- the pdf stream which is going to be decompressed. - Returns:
-
the
ByteArrayOutputStream
which will be used for decompression of the passed pdf stream
-