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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenableMemoryLimitsAwareHandler(PdfDictionary streamDictionary) Creates aMemoryLimitsAwareOutputStreamwhich 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, waitMethods inherited from interface com.itextpdf.kernel.pdf.filters.IFilterHandler
decode
-
Constructor Details
-
MemoryLimitsAwareFilter
public MemoryLimitsAwareFilter()
-
-
Method Details
-
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
-