ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter2/IscreamChartWriter.java
(Generate patch)

Comparing projects/cms/source/reports/DBReporter2/IscreamChartWriter.java (file contents):
Revision 1.1 by pjm2, Sat Feb 3 14:56:14 2001 UTC vs.
Revision 1.2 by pjm2, Sat Feb 3 17:26:07 2001 UTC

# Line 3 | Line 3 | import java.awt.*;
3   import java.awt.image.*;
4   import Acme.JPM.Encoders.*;
5  
6 <
6 > // Use the gif encoder bits to write our image to a gif file.
7   public class IscreamChartWriter {
8      
9 +    // Dummy constructor.
10      public IscreamChartWriter() {
11          
12      }
13      
14 +    // Write the gif file.
15      public static void writeChart(BufferedImage img, String filename) {
16          try {
17              FileOutputStream fos = new FileOutputStream(new File(filename));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines