checkURL(artifact);
Map<Class<?>, Object> fromMimetype = findRecognizerAndHelper(mimetype);
ArtifactRecognizer recognizer = (ArtifactRecognizer) fromMimetype.get(ArtifactRecognizer.class);
ArtifactHelper helper = (ArtifactHelper) fromMimetype.get(ArtifactHelper.class);
return importArtifact(artifact, recognizer, helper, mimetype, true, upload);
}
catch (IllegalArgumentException iae) {
m_log.log(LogService.LOG_INFO, "Error importing artifact: " + iae.getMessage());