.valueOf(properties.getProperty(CONFIG_SCANDELAY, "60"));
if (multi == null || zipRegExp == null || segRegExp == null
|| correctDir == null || incorrectDir == null
|| nameFrom == null || bossRegExp == null) {
throw new JnodeModuleException(
"Invalid configuration: required fields are empty");
}
for (String dir : Arrays.asList(correctDir, incorrectDir)) {
File d = new File(dir);
if (!(d.canRead() && d.canWrite() && d.isDirectory())) {
throw new JnodeModuleException(
"Invalid configuration: directory " + dir
+ " is invalid");
}
}
pZip = Pattern.compile(zipRegExp, Pattern.CASE_INSENSITIVE);