/** * Puts an ExifTag into this ExifInterface object's tags, removing a * previous ExifTag with the same TID and IFD. The IFD it is put into will * be the one the tag was created with in {@link #buildTag}. * * @param tag an ExifTag to put into this ExifInterface's tags. * @return the previous ExifTag with the same TID and IFD or null if none * exists. */ public ExifTag setTag( ExifTag tag ) { return mData.addTag( tag ); }
/** * Puts an ExifTag into this ExifInterface object's tags, removing a * previous ExifTag with the same TID and IFD. The IFD it is put into will * be the one the tag was created with in {@link #buildTag}. * * @param tag an ExifTag to put into this ExifInterface's tags. * @return the previous ExifTag with the same TID and IFD or null if none * exists. */ public ExifTag setTag( ExifTag tag ) { return mData.addTag( tag ); }
/** * Adds the given ExifTag to its default IFD and returns an existing ExifTag * with the same TID or null if none exist. */ protected ExifTag addTag( ExifTag tag ) { if( tag != null ) { int ifd = tag.getIfd(); return addTag( tag, ifd ); } return null; }
/** * Adds the given ExifTag to its default IFD and returns an existing ExifTag * with the same TID or null if none exist. */ protected ExifTag addTag( ExifTag tag ) { if( tag != null ) { int ifd = tag.getIfd(); return addTag( tag, ifd ); } return null; }
mExifData.addTag( t );
mExifData.addTag( t );