+ "' has no 'Preparator-Classes' attribute");
}
String[] classNameArr = RegainToolkit.splitString(classNameCsv, ";", true);
// Load the classes if they are not disabled
URLClassLoader loader = null;
for (int i = 0; i < classNameArr.length; i++) {
// Get the class name
String className = classNameArr[i];
if (className.startsWith(".")) {
className = PreparatorSettings.DEFAULT_PREPARATOR_PACKAGE + className;
}
if (isPreparatorEnabled(className, preparatorSettingsArr)) {
// Create the class loader if nessesary
if (loader == null) {
loader = new URLClassLoader(new URL[] { file.toURI().toURL() });
}
// Load the preparator and add it to the preparatorHash
Preparator prep = (Preparator) RegainToolkit.createClassInstance(className, Preparator.class, loader);
preparatorHash.put(className, prep);