/** Reads Exif tags from the specified JPEG file. */ public ExifInterface(String filename) throws IOException { if (filename == null) { throw new IllegalArgumentException("filename cannot be null"); } mFilename = filename; loadAttributes(); }
/** * M: Reads Exif tags from the specified input stream. * * @hide */ public ExifInterface(InputStream stream) throws IOException { mInputStream = stream; loadAttributes(); }