diff servlet/src/digilib/image/DocuImage.java @ 122:a32e8c80e2f2

Servlet Version 1.10b1 - more intelligent handling of resolutions - different handling of mo=lores
author robcast
date Wed, 11 Jun 2003 22:51:28 +0200
parents 78f52a1876fe
children 04ad64b2137a
line wrap: on
line diff
--- a/servlet/src/digilib/image/DocuImage.java	Wed Jun 11 22:50:13 2003 +0200
+++ b/servlet/src/digilib/image/DocuImage.java	Wed Jun 11 22:51:28 2003 +0200
@@ -14,7 +14,7 @@
 
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 
 */
 
@@ -22,10 +22,8 @@
 
 import java.awt.Rectangle;
 import java.io.File;
-import java.io.IOException;
 import java.io.OutputStream;
 
-import digilib.io.DocuFile;
 import digilib.io.FileOpException;
 
 /** The basic class for the representation of a digilib image.
@@ -66,17 +64,6 @@
 	public void loadSubimage(File f, Rectangle region, int subsample)
 		throws FileOpException;
 
-	/** Checks the size and type of the DocuFile f.
-	 * 
-	 * The image size and type of the DocuFile f is determined and stored in
-	 * the DocuFile object. Returns true if successfull.
-	 * 
-	 * @param f DocuFile to be checked.
-	 * @return boolean true if check was successfull.
-	 * @throws FileOpException Exception thrown on error.
-	 */
-	public boolean checkFile(DocuFile f) throws IOException;
-
 	/** Writes the current image to a ServletResponse.
 	 *
 	 * The image is encoded to the mime-type <code>mt</code> and sent to the output