Mercurial > hg > digilib-old
diff servlet/src/digilib/image/JIMIDocuImage.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 | afe7ff98bb71 |
line wrap: on
line diff
--- a/servlet/src/digilib/image/JIMIDocuImage.java Tue Sep 16 18:26:31 2003 +0200 +++ b/servlet/src/digilib/image/JIMIDocuImage.java Tue Sep 16 18:32:00 2003 +0200 @@ -32,7 +32,7 @@ import com.sun.jimi.core.raster.JimiRasterImage; import digilib.Utils; -import digilib.io.DocuFile; +import digilib.io.ImageFile; import digilib.io.FileOpException; /** Implementation of DocuImage using the JIMI image Library. */ @@ -53,7 +53,7 @@ /** * load image file */ - public void loadImage(DocuFile f) throws FileOpException { + public void loadImage(ImageFile f) throws FileOpException { System.gc(); try { img = Jimi.getRasterImage(f.getFile().toURL());