| 1 |
// Copyright 2001-2003, FreeHEP. |
| 2 |
package org.freehep.util.io; |
| 3 |
|
| 4 |
import java.awt.Image; |
| 5 |
import java.io.IOException; |
| 6 |
import java.io.InputStream; |
| 7 |
import java.util.zip.InflaterInputStream; |
| 8 |
|
| 9 |
/** |
| 10 |
* The FlateInputStream uses the Deflate mechanism to compress data. The exact |
| 11 |
* definition of Deflate encoding can be found in the PostScript Language |
| 12 |
* Reference (3rd ed.) chapter 3.13.3. |
| 13 |
* |
| 14 |
* @author Mark Donszelmann |
| 15 |
* @version $Id: FlateOutputStream.java,v 1.1 2001/06/05 10:32:52 duns Exp $ |
| 16 |
*/ |
| 17 |
public class FlateInputStream extends InflaterInputStream { |
| 18 |
|
| 19 |
/** |
| 20 |
* Create a (De)Flate input stream. |
| 21 |
* |
| 22 |
* @param in stream to read from |
| 23 |
*/ |
| 24 |
public FlateInputStream(InputStream in) { |
| 25 |
super(in); |
| 26 |
} |
| 27 |
|
| 28 |
/** |
| 29 |
* Reads an image FIXME NOT IMPLEMENTED |
| 30 |
* |
| 31 |
* @return null |
| 32 |
* @throws IOException |
| 33 |
*/ |
| 34 |
public Image readImage() throws IOException { |
| 35 |
return null; |
| 36 |
} |
| 37 |
} |