diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/servlet/src/digilib/io/ImageStream.java	Thu Jan 06 11:57:32 2011 +0100
@@ -0,0 +1,24 @@
+/**
+ * 
+ */
+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;
+	}
+}