1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.commons.imaging.formats.jpeg.exif;
19
20 import java.io.File;
21 import java.io.IOException;
22
23 import org.apache.commons.imaging.ImagingException;
24 import org.apache.commons.imaging.formats.tiff.TiffField;
25 import org.apache.commons.imaging.formats.tiff.constants.ExifTagConstants;
26 import org.apache.commons.imaging.internal.Debug;
27
28 public class MakerNoteFieldTest extends AbstractSpecificExifTagTest {
29
30 @Override
31 protected void checkField(final File imageFile, final TiffField field) throws IOException, ImagingException, ImagingException {
32 if (field.getTag() != ExifTagConstants.EXIF_TAG_MAKER_NOTE.tag) {
33 return;
34 }
35
36 Debug.debug("imageFile: " + imageFile);
37 Debug.debug("field: " + field);
38 Debug.debug("type: " + field.getClass().getSimpleName());
39
40 Debug.debug("field: " + field.getTag());
41 Debug.debug("field: " + field.getTagInfo());
42 Debug.debug("length: " + field.getCount());
43 Debug.debug("fieldType: " + field.getFieldType());
44
45 Debug.debug();
46
47
48
49 }
50
51 }