Class DefaultInputStreamFactory

java.lang.Object
org.apache.pdfbox.jbig2.io.DefaultInputStreamFactory
All Implemented Interfaces:
InputStreamFactory

@Deprecated public class DefaultInputStreamFactory extends Object implements InputStreamFactory
Deprecated.
This factory provides no way to configure its behaviour and does not document the tradeoff it makes: it defaults to FileCacheImageInputStream (file-backed, lower memory usage) with MemoryCacheImageInputStream only as a fallback on I/O failure. Callers should construct the appropriate ImageInputStream directly based on their own memory and performance requirements. This class will be removed in a future release.