Mercurial > hg > digilib-old
diff servlet/src/digilib/image/DocuImage.java @ 159:e743b853efca
servlet version 1.16a4
- rather experimental
- new Texter servlet for sending text
- reads and caches text files in DocuDirCache
- DocuFile renamed to ImageFile (-Set)
- new TextFile
author | robcast |
---|---|
date | Tue, 16 Sep 2003 18:32:00 +0200 |
parents | 04ad64b2137a |
children | 1a65d8e43620 |
line wrap: on
line diff
--- a/servlet/src/digilib/image/DocuImage.java Tue Sep 16 18:26:31 2003 +0200 +++ b/servlet/src/digilib/image/DocuImage.java Tue Sep 16 18:32:00 2003 +0200 @@ -23,7 +23,7 @@ import java.awt.Rectangle; import java.io.OutputStream; -import digilib.io.DocuFile; +import digilib.io.ImageFile; import digilib.io.FileOpException; /** The basic class for the representation of a digilib image. @@ -46,7 +46,7 @@ * @param f Image File. * @throws FileOpException Exception thrown if any error occurs. */ - public void loadImage(DocuFile f) throws FileOpException; + public void loadImage(ImageFile f) throws FileOpException; /** This DocuImage support the loadSubImage operation. * @@ -61,7 +61,7 @@ * @param subsample * @throws FileOpException */ - public void loadSubimage(DocuFile f, Rectangle region, int subsample) + public void loadSubimage(ImageFile f, Rectangle region, int subsample) throws FileOpException; /** Writes the current image to a ServletResponse.