source: josm/trunk/src/com/drew/metadata/exif/KodakMakernoteDescriptor.java@ 4258

Last change on this file since 4258 was 4231, checked in by stoecker, 13 years ago

add signpost and metadata extractor code to repository directly

File size: 1.2 KB
Line 
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 */
15package com.drew.metadata.exif;
16
17import com.drew.metadata.Directory;
18import com.drew.metadata.MetadataException;
19import com.drew.metadata.TagDescriptor;
20
21/**
22 * Provides human-readable string versions of the tags stored in a KodakMakernoteDirectory.
23 * Thanks to David Carson for the initial version of this class.
24 */
25public class KodakMakernoteDescriptor extends TagDescriptor
26{
27 public KodakMakernoteDescriptor(Directory directory)
28 {
29 super(directory);
30 }
31
32 public String getDescription(int tagType) throws MetadataException
33 {
34 return _directory.getString(tagType);
35 }
36}
Note: See TracBrowser for help on using the repository browser.