1 package tim.prune.jpeg;
5 import tim.prune.jpeg.drew.ExifReader;
6 import tim.prune.jpeg.drew.ExifException;
9 * Class to act as an entry point to the internal exif library functions.
10 * This should be the only class with dependence on the jpeg.drew package.
12 public class InternalExifLibrary
15 * Use the _internal_ exif library to get the data from the given file
16 * @param inFile file to access
17 * @return Jpeg data if available, otherwise null
19 public JpegData getJpegData(File inFile)
23 data = ExifReader.readMetadata(inFile);
25 catch (ExifException jpe) {} // data remains null