net.grelf.grip
Class Exif
java.lang.Object
net.grelf.grip.Exif
public class Exif
- extends java.lang.Object
Class for examining EXIF-format metadata in any file. Has a main method for running separately as a desk-top
application and saving results in a text file.
Constructor Summary |
Exif()
|
Method Summary |
static void |
main(java.lang.String[] args)
Test harness / interactive use as a stand-alone application. |
static void |
processFile(java.lang.String filePath,
java.io.PrintWriter out)
Process the given image file to put its EXIF data into an xml file. |
static void |
putMetadataInMap(java.lang.String filePath,
java.util.Map<java.lang.String,java.lang.String> map)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Exif
public Exif()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Test harness / interactive use as a stand-alone application. Prompts user for a file to examine.
- Throws:
java.lang.Exception
putMetadataInMap
public static void putMetadataInMap(java.lang.String filePath,
java.util.Map<java.lang.String,java.lang.String> map)
processFile
public static void processFile(java.lang.String filePath,
java.io.PrintWriter out)
- Process the given image file to put its EXIF data into an xml file.