String caption = exifDirectory.getString(ExifDirectory.TAG_IMAGE_DESCRIPTION).trim();
String caption = exifDirectory.getString(ExifDirectory.TAG_IMAGE_DESCRIPTION);
	public static String getCaption(Directory exifDirectory, Directory iptcDirectory, String filename) {		String caption = exifDirectory.getString(ExifDirectory.TAG_IMAGE_DESCRIPTION).trim();		if (caption != null && caption.length() != 0) {			Log.log(Log.LEVEL_TRACE, MODULE, "Picture " + filename + " TAG_IMAGE_DESCRIPTION: " + caption);			return caption.trim();		}		caption = exifDirectory.getString(ExifDirectory.TAG_USER_COMMENT).trim();		if (caption != null && caption.length() !=0) {			Log.log(Log.LEVEL_TRACE, MODULE, "Picture " + filename + " TAG_USER_COMMENT: " + caption);			return caption.trim();		}		caption = iptcDirectory.getString(IptcDirectory.TAG_CAPTION).trim();		if (caption != null && caption.length() !=0) {			Log.log(Log.LEVEL_TRACE, MODULE, "Picture " + filename + " IPTC DESCRIPTION: " + caption);			return caption.trim();		}		Log.log(Log.LEVEL_TRACE, MODULE, "Picture " + filename + " has no usable EXIF or IPTC info");		return null;	}