jdk/src/share/classes/javax/imageio/stream/ImageInputStream.java

Print this page

        

*** 26,35 **** --- 26,36 ---- package javax.imageio.stream; import java.io.DataInput; import java.io.IOException; import java.nio.ByteOrder; + import java.io.Closeable; /** * A seekable input stream interface for use by * <code>ImageReader</code>s. Various input sources, such as * <code>InputStream</code>s and <code>File</code>s,
*** 40,50 **** * @see FileImageInputStream * @see FileCacheImageInputStream * @see MemoryCacheImageInputStream * */ ! public interface ImageInputStream extends DataInput { /** * Sets the desired byte order for future reads of data values * from this stream. For example, the sequence of bytes '0x01 * 0x02 0x03 0x04' if read as a 4-byte integer would have the --- 41,51 ---- * @see FileImageInputStream * @see FileCacheImageInputStream * @see MemoryCacheImageInputStream * */ ! public interface ImageInputStream extends DataInput, Closeable { /** * Sets the desired byte order for future reads of data values * from this stream. For example, the sequence of bytes '0x01 * 0x02 0x03 0x04' if read as a 4-byte integer would have the