Mercurial > hg > digilib-old
view servlet/src/digilib/io/ImageStream.java @ 844:73dd59b48c5e stream
Merge from jquery branch
a7e157d258e86b9ba7470239f6b49d73ff200486
| author | robcast |
|---|---|
| date | Fri, 04 Mar 2011 17:49:15 +0100 |
| parents | 69bc69381ac4 |
| children |
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; } /* * (non-Javadoc) * * @see digilib.io.ImageInput#hasInputStream() */ @Override public boolean hasInputStream() { return true; } /* * (non-Javadoc) * * @see digilib.io.ImageInput#getInputStream() */ @Override public InputStream getInputStream() { return stream; } }
