// imsmanifest.xml as well
else if (ImsCPFileResource.validate(fUnzippedDir)) tempFr = new ImsCPFileResource();
// scorm and cp now can throw an exception which helps to show a
// better error message in case
// of a failure in adding a new resource
else if (ScormCPFileResource.validate(fUnzippedDir)) tempFr = new ScormCPFileResource();
// glossary resources are packaged within zip for import/export
else if (GlossaryResource.validate(fUnzippedDir)) tempFr = new GlossaryResource();
else {
// just a generic ZIP file... we can delete the temporary unziped
// dir...