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

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

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

revision 1.3.2.1 by gnu_andrew, Sat Jan 15 17:02:17 2005 UTC revision 1.3.2.2 by gnu_andrew, Sun Jan 16 15:15:13 2005 UTC
# Line 45  import java.io.OutputStream; Line 45  import java.io.OutputStream;
45  /**  /**
46   * @author Michael Koch (konqueror@gmx.de)   * @author Michael Koch (konqueror@gmx.de)
47   */   */
48  public class FileCacheImageOutputStream  public class FileCacheImageOutputStream extends ImageOutputStreamImpl
49  {  {
50    private OutputStream stream;    private OutputStream stream;
51    private File cacheDir;    private File cacheDir;
# Line 90  public class FileCacheImageOutputStream Line 90  public class FileCacheImageOutputStream
90    {    {
91      return false;      return false;
92    }    }
93      
94      public int read()
95        throws IOException
96      {
97        // FIXME: Implement me.
98        throw new Error("not implemented");
99      }
100    
101      public int read(byte[] data, int offset, int len)
102        throws IOException
103      {
104        // FIXME: Implement me.
105        throw new Error("not implemented");
106      }
107    
108      public void write(byte[] data, int offset, int len)
109        throws IOException
110      {
111        checkStreamClosed();
112        // FIXME: Flush pending bits.
113        stream.write(data, offset, len);
114      }
115    
116      public void write(int value)
117        throws IOException
118      {
119        checkStreamClosed();
120        // FIXME: Flush pending bits.
121        stream.write(value);
122      }
123  }  }

Legend:
Removed from v.1.3.2.1  
changed lines
  Added in v.1.3.2.2

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