/[classpath]/classpath/javax/imageio/stream/FileCacheImageInputStream.java
ViewVC logotype

Diff of /classpath/javax/imageio/stream/FileCacheImageInputStream.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mkoch, Thu Oct 21 20:47:38 2004 UTC revision 1.4 by mkoch, Tue Dec 7 15:03:53 2004 UTC
# Line 45  import java.io.InputStream; Line 45  import java.io.InputStream;
45  /**  /**
46   * @author Michael Koch (konqueror@gmx.de)   * @author Michael Koch (konqueror@gmx.de)
47   */   */
48  public class FileCacheImageInputStream  public class FileCacheImageInputStream extends ImageInputStreamImpl
49  {  {
50    private InputStream stream;    private InputStream stream;
51    private File cacheDir;    private File cacheDir;
# Line 90  public class FileCacheImageInputStream Line 90  public class FileCacheImageInputStream
90    {    {
91      return false;      return false;
92    }    }
93    
94      public int read()
95        throws IOException
96      {
97        checkStreamClosed();
98        setBitOffset(0);
99        return stream.read();
100      }
101    
102      public int read(byte[] data, int offset, int len)
103        throws IOException
104      {
105        checkStreamClosed();
106        setBitOffset(0);
107        return stream.read(data, offset, len);
108      }
109  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26