com.drew.metadata.test
Class SampleUsage

java.lang.Object
  extended by com.drew.metadata.test.SampleUsage

public class SampleUsage
extends Object

Shows example usages of the metadata-extractor library.


Constructor Summary
SampleUsage(String fileName)
          Constructor which executes multiple sample usages, each of which return the same output.
 
Method Summary
static void main(String[] args)
          Executes the sample usage program.
private  void printImageTags(int approachCount, Metadata metadata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleUsage

public SampleUsage(String fileName)
Constructor which executes multiple sample usages, each of which return the same output. This class showcases multiple usages of this metadata class library.

Parameters:
fileName - path to a file upon which to operate
Method Detail

printImageTags

private void printImageTags(int approachCount,
                            Metadata metadata)

main

public static void main(String[] args)
Executes the sample usage program.

Parameters:
args - command line parameters