Class PathImageInputStream

java.lang.Object
javax.imageio.stream.ImageInputStreamImpl
is.galia.stream.PathImageInputStream
All Implemented Interfaces:
Closeable, DataInput, AutoCloseable, ImageInputStream

public class PathImageInputStream extends ImageInputStreamImpl implements ImageInputStream

Analog of FileImageInputStream that uses Paths instead of Files.

Also, unlike FileImageInputStream which is backed by a RandomAccessFile, this implementation is backed by a faster buffered implementation.