1 | /*
|
---|
2 | * This is public domain software - that is, you can do whatever you want
|
---|
3 | * with it, and include it software that is licensed under the GNU or the
|
---|
4 | * BSD license, or whatever other licence you choose, including proprietary
|
---|
5 | * closed source licenses. I do ask that you leave this header in tact.
|
---|
6 | *
|
---|
7 | * If you make modifications to this code that you think would benefit the
|
---|
8 | * wider community, please send me a copy and I'll post it on my site.
|
---|
9 | *
|
---|
10 | * If you make use of this code, I'd appreciate hearing about it.
|
---|
11 | * drew@drewnoakes.com
|
---|
12 | * Latest version of this software kept at
|
---|
13 | * http://drewnoakes.com/
|
---|
14 | *
|
---|
15 | * Created by dnoakes on 27-Nov-2002 10:10:47 using IntelliJ IDEA.
|
---|
16 | */
|
---|
17 | package com.drew.metadata.exif;
|
---|
18 |
|
---|
19 | import com.drew.metadata.Directory;
|
---|
20 |
|
---|
21 | import java.util.HashMap;
|
---|
22 |
|
---|
23 | /**
|
---|
24 | *
|
---|
25 | */
|
---|
26 | public class KyoceraMakernoteDirectory extends Directory
|
---|
27 | {
|
---|
28 | public static final int TAG_KYOCERA_PROPRIETARY_THUMBNAIL = 0x0001;
|
---|
29 | public static final int TAG_KYOCERA_PRINT_IMAGE_MATCHING_INFO = 0x0E00;
|
---|
30 |
|
---|
31 | protected static final HashMap tagNameMap = new HashMap();
|
---|
32 |
|
---|
33 | static
|
---|
34 | {
|
---|
35 | tagNameMap.put(new Integer(TAG_KYOCERA_PROPRIETARY_THUMBNAIL), "Proprietary Thumbnail Format Data");
|
---|
36 | tagNameMap.put(new Integer(TAG_KYOCERA_PRINT_IMAGE_MATCHING_INFO), "Print Image Matching (PIM) Info");
|
---|
37 | }
|
---|
38 |
|
---|
39 | public KyoceraMakernoteDirectory()
|
---|
40 | {
|
---|
41 | this.setDescriptor(new KyoceraMakernoteDescriptor(this));
|
---|
42 | }
|
---|
43 |
|
---|
44 | public String getName()
|
---|
45 | {
|
---|
46 | return "Kyocera/Contax Makernote";
|
---|
47 | }
|
---|
48 |
|
---|
49 | protected HashMap getTagNameMap()
|
---|
50 | {
|
---|
51 | return tagNameMap;
|
---|
52 | }
|
---|
53 | }
|
---|