Commit 3230637b authored by marceteau's avatar marceteau
Browse files

gestion des document vers ArchiveUnit (cas particulier) + keyword -> tag

parent 62b1ed59
......@@ -336,7 +336,11 @@ public class ArchiveConverterMain {
archiveConverter = new DCToSeda21TarMaker(this.agency, null, formalism);
}
}else if(formalism.equals("seda1")) {
archiveConverter = new Seda1ToSeda21TarMaker(this.agency, this.planClassementFile.toString());
if(this.planClassementFile != null) {
archiveConverter = new Seda1ToSeda21TarMaker(this.agency, this.planClassementFile.toString());
} else {
archiveConverter = new Seda1ToSeda21TarMaker(this.agency, null);
}
}else {
System.err.println("Ce formalisme n'est pas reconnu, veuillez choisir sip ou seda1");
throw new IllegalArgumentException("Ce formalisme n'est pas reconnu, veuillez choisir sip ou seda1");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment