Mercurial > hg > digilib-old
view servlet/src/digilib/io/ImageStream.java @ 882:07926f0b9a1a jquery
make digilib.html use new jquery. sync jquery-1.5.1.js and jquery.js.
author | robcast |
---|---|
date | Tue, 22 Mar 2011 12:31:41 +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; } }