edu.uiuc.ndiipp.hubandspoke.utils.jhove
Class JhoveTransformerFactory
java.lang.Object
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
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JhoveTransformerFactory
public JhoveTransformerFactory()
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.