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
public abstract class MemoryLimitsAwareFilter extends java.lang.Object implements IFilterHandler
Handles memory limits aware processing.- See Also:
MemoryLimitsAwareHandler
-
-
Constructor Summary
Constructors Constructor Description MemoryLimitsAwareFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.ByteArrayOutputStream
enableMemoryLimitsAwareHandler(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
-
-
-
-
Method Detail
-
enableMemoryLimitsAwareHandler
public java.io.ByteArrayOutputStream enableMemoryLimitsAwareHandler(PdfDictionary streamDictionary)
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
-
-