--- /dev/null
+package org.w3c.tools.jpeg;\r
+\r
+import java.util.Hashtable;\r
+\r
+/**\r
+ * The EXIF decoder interface.\r
+ *\r
+ * <p>Special purpose field decoders for use by the Exif class must implement\r
+ * this interface.</p>\r
+ *\r
+ * @version $Revision: 1.1 $\r
+ * @author Norman Walsh\r
+ * @see Exif\r
+ */\r
+public interface TagDecoder {\r
+ /** Decodes a field from the EXIF data and possibly augments the exif hash.\r
+ *\r
+ * @param exif The hash of field name/value pairs. This method should update\r
+ * this has with information extracted from data.\r
+ * @param data The EXIF data.\r
+ * @param format The EXIF format value for the field to be decoded.\r
+ * @param offset The offset of the start of the field in the EXIF data.\r
+ * @param length The length of the field.\r
+ */\r
+ public void decode(Hashtable exif, ExifData data, int format, int offset, int length);\r
+}\r