public void Add(params string[] list)
 {
     foreach (var path in list)
     {
         Container c = null;
         if (Directory.Exists(path))
         {
             c = new DirectoryContainer(path);
         }
         else
         {
             if (File.Exists(path))
             {
                 if (KeyFile.IsKey(path))
                 {
                     c = new KeyFile(path);
                 }
                 else if (ErfFile.IsErf(path))
                 {
                     c = new ErfFile(path);
                 }
                 else
                 {
                     throw new ApplicationException("Impossible d'ajouter le chemin spécifié : " + path);
                 }
             }
         }
         if (c == null)
         {
             throw new ApplicationException("Le conteneur de ressource n'est pas initialisé correctement.");
         }
         foreach (ContentObject co in c)
         {
             Add(co);
         }
     }
 }