All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.freehep.util.io.FlateInputStream Maven / Gradle / Ivy

There is a newer version: 2.2.2
Show newest version
// Copyright 2001-2003, FreeHEP.
package org.freehep.util.io;

import java.awt.Image;
import java.io.IOException;
import java.io.InputStream;
import java.util.zip.InflaterInputStream;

/**
 * The FlateInputStream uses the Deflate mechanism to compress data. The exact
 * definition of Deflate encoding can be found in the PostScript Language
 * Reference (3rd ed.) chapter 3.13.3.
 * 
 * @author Mark Donszelmann
 */
public class FlateInputStream extends InflaterInputStream {

	/**
	 * Create a (De)Flate input stream.
	 * 
	 * @param in
	 *            stream to read from
	 */
	public FlateInputStream(InputStream in) {
		super(in);
	}

	/**
	 * Reads an image FIXME NOT IMPLEMENTED
	 * 
	 * @return null
	 * @throws IOException
	 */
	public Image readImage() throws IOException {
		return null;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy