Exemplo n.º 1
0
 /** 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();
 }
Exemplo n.º 2
0
 /**
  * M: Reads Exif tags from the specified input stream.
  *
  * @hide
  */
 public ExifInterface(InputStream stream) throws IOException {
   mInputStream = stream;
   loadAttributes();
 }