edu.uiuc.ndiipp.hubandspoke.utils.jhove
Class JhoveTransformerFactory

java.lang.Object
  extended by edu.uiuc.ndiipp.hubandspoke.utils.jhove.JhoveTransformerFactory

public class JhoveTransformerFactory
extends java.lang.Object

This class takes the path to a file, generates the raw Jhove metadata, and figures out the MIME type in order to return a proper JhoveTransformer for the file.

Author:
Howard Ding

Constructor Summary
JhoveTransformerFactory()
           
 
Method Summary
static JhoveTransformer getJhoveTransformer(java.lang.String filename)
          Gets a transformer for the specified file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JhoveTransformerFactory

public JhoveTransformerFactory()
Method Detail

getJhoveTransformer

public static JhoveTransformer getJhoveTransformer(java.lang.String filename)
                                            throws java.lang.Exception
Gets a transformer for the specified file.

Parameters:
filename - Path to the file to be analyzed.
Returns:
A JhoveTransformer suitable for dealing with the file.
Throws:
java.lang.Exception


Copyright © 2006, University of Illinois.