diff servlet/src/digilib/image/DocuImage.java @ 463:d76a9e3f1ec9

Servlet version 1.10b - JAIDocuImage loads Flashpix - refactored image detection code into DocuImage - DocuImage has new methods identify() and getSupportedFormats()
author robcast
date Mon, 13 Feb 2006 20:57:18 +0100
parents 03ff7238c9d4
children e758a49258e8
line wrap: on
line diff
--- a/servlet/src/digilib/image/DocuImage.java	Mon Feb 13 13:01:42 2006 +0100
+++ b/servlet/src/digilib/image/DocuImage.java	Mon Feb 13 20:57:18 2006 +0100
@@ -23,6 +23,7 @@
 import java.awt.Rectangle;
 import java.io.IOException;
 import java.io.OutputStream;
+import java.util.Iterator;
 
 import digilib.io.ImageFile;
 import digilib.io.FileOpException;
@@ -215,4 +216,9 @@
      */
     public boolean identify(ImageFile imgf) throws IOException;
 
+    /**
+     * Returns a list of supported image formats
+     */
+	public Iterator getSupportedFormats();
+
 }