]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/jpeg/InternalExifLibrary.java
Moved source into separate src directory due to popular request
[GpsPrune.git] / tim / prune / jpeg / InternalExifLibrary.java
diff --git a/tim/prune/jpeg/InternalExifLibrary.java b/tim/prune/jpeg/InternalExifLibrary.java
deleted file mode 100644 (file)
index 377155f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package tim.prune.jpeg;
-
-import java.io.File;
-
-import tim.prune.jpeg.drew.ExifReader;
-import tim.prune.jpeg.drew.ExifException;
-
-/**
- * Class to act as an entry point to the internal exif library functions.
- * This should be the only class with dependence on the jpeg.drew package.
- */
-public class InternalExifLibrary
-{
-       /**
-        * Use the _internal_ exif library to get the data from the given file
-        * @param inFile file to access
-        * @return Jpeg data if available, otherwise null
-        */
-       public JpegData getJpegData(File inFile)
-       {
-               JpegData data = null;
-               try {
-                       data = ExifReader.readMetadata(inFile);
-               }
-               catch (ExifException jpe) {} // data remains null
-               return data;
-       }
-}