public class ExternExtractorMetWriter extends PcsMetFileWriter {
@Override
protected Metadata getSciPgeSpecificMetadata(File sciPgeConfigFilePath,
Metadata inputMetadata, Object... customArgs) throws Exception {
ExternMetExtractor extractor = new ExternMetExtractor();
extractor.setConfigFile(new ExternConfigReader().parseConfigFile(new File(
(String) customArgs[0])));
Metadata m = new Metadata();
m.addMetadata(extractor.extractMetadata(sciPgeConfigFilePath)
.getHashtable(), true);
return m;
}