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

Print this page

        

*** 23,32 **** --- 23,33 ---- * questions. */ package javax.imageio.stream; + import java.io.Closeable; import java.io.DataInput; import java.io.IOException; import java.nio.ByteOrder; /**
*** 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