File preparatorDir = new File("preparator");
if (! preparatorDir.exists()) {
throw new RegainException("Preparator directory not found: " +
preparatorDir.getAbsolutePath());
}
File[] jarFileArr = preparatorDir.listFiles();
for (int i = 0; i < jarFileArr.length; i++) {
if (jarFileArr[i].getName().toLowerCase().endsWith(".jar")) {
loadPrepararorJar(jarFileArr[i], preparatorHash, preparatorSettingsArr);
}
}