List<String> fileNames = FileIoUtils.getFileNamesInFolder(folderPath);
List<LogFileGeneric> logFileGenerics = new ArrayList<LogFileGeneric>();
for (String fileName : fileNames) {
LogFileGeneric logFileGeneric = new LogFileGeneric(fileName);
logFileGenerics.add(logFileGeneric);
if (VarUtils.IN_DETAIL_DEBUG) {
models.utils.LogUtils.printLogNormal(logFileGeneric.toString());
}
}
Collections.sort(logFileGenerics, Collections.reverseOrder());
return logFileGenerics;