/** * Gets a tag value for an IFD other than the tag's default. * * @see #getTagValue */ public Object getTagValue( int tagId, int ifdId ) { ExifTag t = getTag( tagId, ifdId ); return ( t == null ) ? null : t.getValue(); }
/** * Gets a tag value for an IFD other than the tag's default. * * @see #getTagValue */ public Object getTagValue( int tagId, int ifdId ) { ExifTag t = getTag( tagId, ifdId ); return ( t == null ) ? null : t.getValue(); }
private ArrayList<ExifTag> stripNullValueTags( ExifData data ) { ArrayList<ExifTag> nullTags = new ArrayList<ExifTag>(); for( ExifTag t : data.getAllTags() ) { if( t.getValue() == null && ! ExifInterface.isOffsetTag( t.getTagId() ) ) { data.removeTag( t.getTagId(), t.getIfd() ); nullTags.add( t ); } } return nullTags; }
private ArrayList<ExifTag> stripNullValueTags( ExifData data ) { ArrayList<ExifTag> nullTags = new ArrayList<ExifTag>(); for( ExifTag t : data.getAllTags() ) { if( t.getValue() == null && ! ExifInterface.isOffsetTag( t.getTagId() ) ) { data.removeTag( t.getTagId(), t.getIfd() ); nullTags.add( t ); } } return nullTags; }