*
* @param aTIFDir A source directory
* @param aJP2Dir A target directory
*/
public StatsCompilation(final File aTIFDir, final File aJP2Dir) {
final RegexFileFilter jp2Pattern = new RegexFileFilter(JP2_FILE_PATTERN);
final RegexFileFilter tifPattern = new RegexFileFilter(TIFF_FILE_PATTERN);
long jp2CountLong = 0;
long tifCountLong = 0;
if (!aJP2Dir.exists() && !aJP2Dir.mkdirs() && LOGGER.isWarnEnabled()) {
LOGGER.warn("Couldn't create requested JP2 directory: {}", aJP2Dir);