Mercurial > hg > digilib-old
annotate 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 |
rev | line source |
---|---|
587 | 1 /** |
2 * | |
3 */ | |
4 package digilib.io; | |
5 | |
6 import java.io.InputStream; | |
7 | |
8 /** | |
9 * @author casties | |
10 * | |
11 */ | |
12 public class ImageStream extends ImageInput { | |
13 | |
14 protected InputStream stream = null; | |
15 | |
16 public ImageStream(InputStream stream, String mimeType) { | |
17 this.stream = stream; | |
18 this.mimetype = mimeType; | |
19 } | |
20 | |
21 public InputStream getStream() { | |
22 return stream; | |
23 } | |
24 } |