Class DefaultInputStreamFactory

  • All Implemented Interfaces:
    InputStreamFactory

    @Deprecated
    public class DefaultInputStreamFactory
    extends java.lang.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.
    • Constructor Detail

      • DefaultInputStreamFactory

        public DefaultInputStreamFactory()
        Deprecated.
    • Method Detail

      • getInputStream

        @Deprecated
        public javax.imageio.stream.ImageInputStream getInputStream​(java.io.InputStream is)
        Deprecated.
        Specified by:
        getInputStream in interface InputStreamFactory