} else if (type.equals("mets")) {
ff = new MetsMods(this.regelsatz.getPreferences());
} else if (type.equals("xstream")) {
ff = new XStream(this.regelsatz.getPreferences());
} else {
ff = new RDFFile(this.regelsatz.getPreferences());
}
try {
ff.read(getMetadataFilePath());
} catch (ReadException e) {
if (e.getMessage().startsWith("Parse error at line -1")) {