changeset 459:b3519a49ae51

Servlet version 1.5.9h - experimental Flashpix support with JAIDocuImage
author robcast
date Wed, 08 Feb 2006 20:30:49 +0100
parents eec0d8c9c3c9
children 530b7b58a727
files servlet/src/digilib/io/FileOps.java
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/servlet/src/digilib/io/FileOps.java	Wed Feb 08 20:30:46 2006 +0100
+++ b/servlet/src/digilib/io/FileOps.java	Wed Feb 08 20:30:49 2006 +0100
@@ -35,13 +35,14 @@
 	/**
 	 * Array of file extensions and corresponding mime-types.
 	 */
-	private static String[][] ft = { { "jpg", "image/jpeg" },
+	private static final String[][] ft = { { "jpg", "image/jpeg" },
 			{ "jpeg", "image/jpeg" }, { "jp2", "image/jp2" },
 			{ "png", "image/png" }, { "gif", "image/gif" },
 			{ "tif", "image/tiff" }, { "tiff", "image/tiff" },
+                        { "fpx", "image/fpx" },
 			{ "txt", "text/plain" }, { "html", "text/html" },
 			{ "htm", "text/html" }, { "xml", "text/xml" },
-			{ "svg", "image/svg+xml" } };
+			{ "svg", "image/svg+xml" }, { "meta", "text/xml" } };
 
 	public static Map fileTypes;