it.geosolutions.imageio.plugins.exif
Class EXIFMetadata
java.lang.Object
it.geosolutions.imageio.plugins.exif.EXIFMetadata
public class EXIFMetadata
- extends Object
- Author:
- Daniele Romagnoli, GeoSolutions SAS
Class representing EXIF entity in terms of list of baseline TIFF Tags and specific EXIF tags.
Constructor Summary |
EXIFMetadata(List<TIFFTagWrapper> baselineExifTags,
List<TIFFTagWrapper> exifTags)
In order to minimize inner checks, make sure that the elements in each list
are provided in ascending order, as requested by the EXIF specification. |
EXIFMetadata(Map<EXIFTags.Type,List<TIFFTagWrapper>> tagsMap)
In order to minimize inner checks, make sure that the elements in each list of the map
are provided in ascending order, as requested by the EXIF specification. |
Method Summary |
void |
setTag(int tagNumber,
Object content,
EXIFTags.Type tagType)
Set the specified TAG of the specified list, with the specified content. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXIFMetadata
public EXIFMetadata(List<TIFFTagWrapper> baselineExifTags,
List<TIFFTagWrapper> exifTags)
- In order to minimize inner checks, make sure that the elements in each list
are provided in ascending order, as requested by the EXIF specification.
- Parameters:
baselineExifTags
- a List
containing baseline TIFF tags elements,
already sorted in ascending order.exifTags
- a List
containing EXIF TIFF tags elements,
already sorted in ascending order.
EXIFMetadata
public EXIFMetadata(Map<EXIFTags.Type,List<TIFFTagWrapper>> tagsMap)
- In order to minimize inner checks, make sure that the elements in each list of the map
are provided in ascending order, as requested by the EXIF specification.
- Parameters:
tagsMap
- the map containing EXIF tags. The map won't be cloned
setTag
public void setTag(int tagNumber,
Object content,
EXIFTags.Type tagType)
- Set the specified TAG of the specified list, with the specified content.
The TAG needs to be already present within the list. No Tags will be added to the list
if missing. The content set will also update the count value.
- Parameters:
tagNumber
- the number of the tag to be updated.content
- the content to be set for that tag.tagType
- the type of TAGs list to be scanned.
Copyright © 2006–2013 GeoSolutions. All rights reserved.