Class FileChannelImageInputStream

java.lang.Object
javax.imageio.stream.ImageInputStreamImpl
com.github.jaiimageio.stream.FileChannelImageInputStream
All Implemented Interfaces:
Closeable, DataInput, AutoCloseable, ImageInputStream

public class FileChannelImageInputStream extends ImageInputStreamImpl
A class which implements ImageInputStream using a FileChannel as the eventual data source. The channel contents are assumed to be stable during the lifetime of the object.

Memory mapping and new I/O view Buffers are used to read the data. Only methods which provide significant performance improvement with respect to the superclass implementation are overridden. Overridden methods are not commented individually unless some noteworthy aspect of the implementation must be described.

The methods of this class are not synchronized.

See Also: