/** * Gets the value of a particular exif tag, or null if it doesn't exist. */ public String getExifTagValue(String exifName) { ExifTag tag = getExifTag(exifName); return tag == null ? null : tag.getValue(); }
/** * Gets the value of a particular exif tag, or null if it doesn't exist. */ public String getExifTagValue(String exifName) { ExifTag tag = getExifTag(exifName); return tag == null ? null : tag.getValue(); }
/** * Sets the value of a particular exif tag by name. */ public void setExifTagValue(String name, String value) { ExifTag tag = getExifTag(name); if (tag != null) { removeRepeatingExtension(tag); } if (value != null) { addRepeatingExtension(new ExifTag(name, value)); } }
/** * Sets the value of a particular exif tag by name. */ public void setExifTagValue(String name, String value) { ExifTag tag = getExifTag(name); if (tag != null) { removeRepeatingExtension(tag); } if (value != null) { addRepeatingExtension(new ExifTag(name, value)); } }