dom = characterize(file);
String jhoveModule = XmlUtils.getDomValue(dom,"reportingModule");
Module mod = jhove.getModule(jhoveModule);
dom = getFileInfo(file,mod);
} catch (Exception e) {
throw new FitsToolException("Jhove error while processing "+file.getName(),e);
}
catch (OutOfMemoryError e) {
throw new FitsToolException("Jhove OutOfMemoryError while processing "+file.getName());
}
String format = XmlUtils.getDomValue(dom,"format");
String xsltTransform = (String)transformMap.get(format.toUpperCase());
/* debug code