view servlet/src/digilib/io/ImageStream.java @ 587:720d061a1b30 stream

more work on stream input
author robcast
date Thu, 06 Jan 2011 11:57:32 +0100
parents
children 69bc69381ac4
line wrap: on
line source

/**
 * 
 */
package digilib.io;

import java.io.InputStream;

/**
 * @author casties
 *
 */
public class ImageStream extends ImageInput {

	protected InputStream stream = null;
	
	public ImageStream(InputStream stream, String mimeType) {
		this.stream = stream;
		this.mimetype = mimeType;
	}
	
	public InputStream getStream() {
		return stream;
	}
}