Mercurial > hg > digilib-old
diff servlet/src/digilib/image/DocuImageImpl.java @ 278:d5fe845db95f
Servlet version 1.22b1
- more fast searching (hopefully all working now)
- some simple synchronisation
- some reshuffling of methods to eliminate cruft
author | robcast |
---|---|
date | Fri, 15 Oct 2004 16:59:47 +0200 |
parents | 1a65d8e43620 |
children | 03ff7238c9d4 |
line wrap: on
line diff
--- a/servlet/src/digilib/image/DocuImageImpl.java Fri Oct 15 16:59:47 2004 +0200 +++ b/servlet/src/digilib/image/DocuImageImpl.java Fri Oct 15 16:59:47 2004 +0200 @@ -38,7 +38,7 @@ public abstract class DocuImageImpl implements DocuImage { /** logger */ - protected Logger logger = Logger.getLogger(this.getClass()); + protected static Logger logger = Logger.getLogger(DocuImage.class); /** Interpolation quality. */ protected int quality = 0; @@ -49,17 +49,6 @@ /** image mime-type */ protected String mimeType = null; - /** Internal knownFileTypes. */ - protected String[] knownFileTypes = { "jpg", "png", "gif", "tiff" }; - - /** Returns the list of image file types known to the DocuImage implementation. - * - * @return List of image file types. Strings are standard file extensions. - */ - public String[] getKnownFileTypes() { - return knownFileTypes; - } - /** * Returns the quality. * @return int