Many TIFF cleanups. Subclassed TagInfo for
each possible combination of allowed types,
and made each TIFF tag constant one of those
subclasses. Deleted TiffOutputField.create()
and instead added TiffOutputDirectory.add(),
which is overloaded for each possible
combination of TagInfo subclass and the
Java type that can be written into it.
Similarly changed TiffDirectory so
TIFF types can be read with strong
typing.

Short/short[] is now handled properly
inside the TIFF implementation, instead of
always converting to Integer/int[].

Converted tests and internal code
to the new API where possible.

This essentially adds a high-level
type-safe API for reading and writing
TIFF/EXIF metadata, that's easy to use,
works with IDE code completion,
maybe the first of its kind.

Jira issue key : SANSELAN-31



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/sanselan/trunk@1245871 13f79535-47bb-0310-9956-ffa450edef68
52 files changed
tree: cefd0e4ee64d2407873f9d4c7fc1f2a08400a2d6
  1. src/
  2. LICENSE.txt
  3. NOTICE.txt
  4. pom.xml
  5. README.txt
  6. RELEASE_NOTES