changeset 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 0794fa8d594a
children 2739fd945499
files servlet/src/digilib/image/DocuImage.java servlet/src/digilib/image/DocuImageImpl.java
diffstat 2 files changed, 1 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/servlet/src/digilib/image/DocuImage.java	Fri Oct 15 16:59:47 2004 +0200
+++ b/servlet/src/digilib/image/DocuImage.java	Fri Oct 15 16:59:47 2004 +0200
@@ -35,12 +35,6 @@
  */
 public interface DocuImage {
 
-	/** 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();
-
 	/** Loads an image file into the Object.
 	 * 
 	 * @param f Image File.
--- 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