int listSize = noEmptyDirList.size();
List<LocalFileCleanerBean> list = new ArrayList<LocalFileCleanerBean>();
for (int i = 0; i < listSize; i++) {
// クリーニングディレクトリを設定
LocalFileCleanerBean bean = new LocalFileCleanerBean();
String dirKey = noEmptyDirList.get(i);
String strDir = ConfigurationLoader.getProperty(dirKey);
bean.setCleanDir(new File(strDir));
// クリーニングパターンを設定
String number = dirKey.substring(dirKey.lastIndexOf(".") + 1, dirKey.length());
String pattarnKey = Constants.PROP_KEY_LOCAL_FILE_CLEAN_PATTERN + "." + number;
String pattern = ConfigurationLoader.getProperty(pattarnKey);
if (pattern == null || pattern.equals("")) {
throw new CleanerSystemException(
this.getClass(), MessageIdConst.LCLN_PATTERN_NOT_FOUND, dirKey, strDir, pattarnKey);
} else {
bean.setPattern(pattern);
}
list.add(bean);
}